> For the complete documentation index, see [llms.txt](https://xgine.gitbook.io/xgine-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xgine.gitbook.io/xgine-docs/skills-and-automation/support-mode.md).

# Support Mode

Be the ultimate support! Automatically follow your party leader and keep them buffed and healed.

***

## 🎯 Overview

Support Mode transforms your character into an intelligent support companion that:

* **Follows** your designated party member
* **Heals** when their HP drops
* **Buffs** when effects expire
* **Stays close** without getting in the way

***

## ⚙️ Setup Guide

### Step 1: Select Your Master

Choose the party member you want to follow and support.

{% hint style="info" %}
Your "master" is the character you'll follow and cast support skills on.
{% endhint %}

### Step 2: Configure Follow Distance

| Setting              | Description                        | Recommended |
| -------------------- | ---------------------------------- | ----------- |
| **Follow Threshold** | Start following when this far away | 6 cells     |
| **Stop Distance**    | Stop walking when this close       | 3 cells     |

### Step 3: Set Up Support Skills

Configure which skills to cast on your master.

***

## ✨ Support Skills

Configure up to **8 support skills** with smart conditions:

| Setting     | Description            |
| ----------- | ---------------------- |
| **Enabled** | Toggle skill on/off    |
| **Key**     | Hotkey for the skill   |
| **Delay**   | Cooldown after casting |

### Skill Conditions

| Condition        | When Skill Activates              |
| ---------------- | --------------------------------- |
| **HP Threshold** | When master's HP drops below %    |
| **SP Threshold** | When master's SP drops below %    |
| **Buff Missing** | When buff is not active on master |

***

## 📊 Master Status Panel

Monitor your master's status in real-time:

| Information      | Display                    |
| ---------------- | -------------------------- |
| **HP/SP**        | Current health and mana    |
| **Active Buffs** | Visual icons with tooltips |
| **Position**     | Current location           |

{% hint style="success" %}
**Pro Tip:** Keep an eye on the status panel to ensure your support is working correctly.
{% endhint %}

***

## 🚶 Follow Behavior

### How Following Works

1. **Distance Check** — Monitors distance to master
2. **Movement** — Pathfinds to master when too far
3. **Stop** — Halts within comfortable range
4. **Support** — Focuses on casting skills when close

### Smart Movement

* Automatically navigates around obstacles
* Pauses movement while casting skills
* Resumes following after skill completion

***

## 💡 Best Practices

<details>

<summary><strong>Setting Up Effective Support</strong></summary>

1. **Party First** — Ensure both characters are in the same party
2. **Same Map** — Keep master and supporter on the same map
3. **Heal Priority** — Place healing skills before buffs in your list
4. **Test First** — Verify skills target correctly before going AFK

</details>

<details>

<summary><strong>Recommended Skill Order</strong></summary>

| Priority | Skill Type      | Example                |
| :------: | --------------- | ---------------------- |
|     1    | Emergency Heal  | Heal (HP < 30%)        |
|     2    | Regular Heal    | Heal (HP < 70%)        |
|     3    | Primary Buffs   | Blessing, Increase AGI |
|     4    | Secondary Buffs | Angelus, Gloria        |

</details>

{% hint style="warning" %}
**Important:** Make sure your master stays within the same map. Support Mode cannot follow across map transitions automatically.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://xgine.gitbook.io/xgine-docs/skills-and-automation/support-mode.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
