# Auto Attack Command

Use `@autoattack` to open the Auto Attack menu. This menu lets your character attack, use skills, use healing items, rest, teleport, and filter monsters while Auto Attack is running.

## Quick Start

1. Type `@autoattack`.
2. Choose `Configure`.
3. Set your attack skill, potions, monster list, teleport, and melee settings.
4. Choose `Show Current` to review your setup.
5. Choose `Start` when you are ready.
6. Use `@autoattack` again and choose `Stop` before changing maps or when you are done.

Auto Attack starts for up to 24 hours, but it can stop earlier if the server blocks the action, your character dies, you change maps, or your setup cannot continue.

## Finding IDs

Some Auto Attack menus ask for IDs.

| Need       | How To Find It                                                                          |
| ---------- | --------------------------------------------------------------------------------------- |
| Item ID    | Use `@iteminfo <item name>` or check the item ID shown in the item guide.               |
| Monster ID | Use `@mobinfo <monster name>` or `@whereis <monster name>`.                             |
| Skill ID   | Use the VanRO skill ID list. Skill names do not work in the Auto Attack skill ID input. |

## Main Menu

| Menu             | What It Does                                                                                 |
| ---------------- | -------------------------------------------------------------------------------------------- |
| `Start` / `Stop` | Turns Auto Attack on or off.                                                                 |
| `Configure`      | Opens all setup menus.                                                                       |
| `Show Current`   | Shows your current heal, potion, rest, skill, melee, teleport, monster, and pickup settings. |
| `Cancel`         | Closes the menu without changes.                                                             |

## Configure Menu

| Menu            | What To Set                                                                                  |
| --------------- | -------------------------------------------------------------------------------------------- |
| `Auto Heal`     | Add a healing skill by skill ID, skill level, and HP trigger percent.                        |
| `Potions`       | Add healing item IDs and choose when to use them for HP or SP.                               |
| `Sit / Rest`    | Choose when to sit and when to stand based on HP and SP percent.                             |
| `Buff Skills`   | Add self-buff skill IDs and skill levels.                                                    |
| `Attack Skills` | Add attack skill IDs and skill levels.                                                       |
| `Buff Items`    | Add buff item IDs and the delay between uses.                                                |
| `Teleport`      | Toggle Teleport skill or Fly Wing use, emergency HP teleport, and no-monster teleport delay. |
| `Monsters`      | Add or remove monster IDs, clear the list, or toggle aggressive behavior.                    |
| `Pickup Items`  | Shows pickup status. Manual pickup is disabled while Auto Attack is running.                 |
| `Melee`         | Toggles normal melee attacks.                                                                |

## Auto Heal

Use this for skills that should heal your character while Auto Attack is running.

| Setting               | Meaning                                        |
| --------------------- | ---------------------------------------------- |
| `Skill ID`            | The healing skill ID.                          |
| `Skill Level`         | The level to cast.                             |
| `Trigger if HP < (%)` | The HP percent where the skill should be used. |

Example: set a heal skill at level 10 with HP trigger `50` if you want it to cast when HP goes below 50%.

## Potions

Use this for HP or SP recovery items in your inventory.

| Setting               | Meaning                                                           |
| --------------------- | ----------------------------------------------------------------- |
| `Item ID`             | The healing item ID.                                              |
| `Trigger if HP < (%)` | Use the item when HP is below this percent. Use `0` to ignore HP. |
| `Trigger if SP < (%)` | Use the item when SP is below this percent. Use `0` to ignore SP. |

The menu also shows healing items currently found in your inventory.

## Sit / Rest

Use this when you want your character to sit down and recover instead of only using items.

| Setting              | Meaning                                                     |
| -------------------- | ----------------------------------------------------------- |
| `Sit if HP < (%)`    | Sit when HP falls below this percent. Use `0` to ignore HP. |
| `Stand if HP >= (%)` | Stand when HP reaches this percent.                         |
| `Sit if SP < (%)`    | Sit when SP falls below this percent. Use `0` to ignore SP. |
| `Stand if SP >= (%)` | Stand when SP reaches this percent.                         |

Example: sit at `30` HP and stand at `90` HP if you want a simple recovery setup.

## Buff And Attack Skills

Buff Skills and Attack Skills use the same simple setup:

| Setting       | Meaning        |
| ------------- | -------------- |
| `Skill ID`    | Skill to cast. |
| `Skill Level` | Level to use.  |

Use `Remove` if you no longer want that skill in the Auto Attack rotation.

## Buff Items

Use this for items that apply a buff effect.

| Setting              | Meaning                                                |
| -------------------- | ------------------------------------------------------ |
| `Item ID`            | Buff item to use.                                      |
| `Delay between uses` | How many seconds to wait before using that item again. |

## Teleport

| Option                  | What It Does                                                                           |
| ----------------------- | -------------------------------------------------------------------------------------- |
| `Toggle Teleport Skill` | Enables or disables skill-based teleporting.                                           |
| `Toggle Fly Wing`       | Enables or disables Fly Wing teleporting.                                              |
| `Set Emergency HP%`     | Teleports after being hit while HP is below the chosen percent. Use `0` to disable.    |
| `Set No-mob Delay (s)`  | Teleports if no monster has been attacked after this many seconds. Use `0` to disable. |

## Monsters

| Option                       | What It Does                                        |
| ---------------------------- | --------------------------------------------------- |
| `Add Mob ID`                 | Adds a monster to the target list.                  |
| `Remove Mob ID`              | Removes a monster from the target list.             |
| `Clear List`                 | Removes all saved monster targets.                  |
| `Toggle Aggressive Behavior` | Changes how Auto Attack treats aggressive monsters. |

Use monster IDs from `@mobinfo` or `@whereis`.

## Looting

Auto Attack does not manually pick up floor items. Use the loot commands instead:

| Command         | Use                             |
| --------------- | ------------------------------- |
| `@autoloot`     | Loot by drop rate.              |
| `@alootid`      | Loot specific item IDs.         |
| `@alootid2`     | Save and load `@alootid` lists. |
| `@autoloottype` | Loot by item type.              |

## Tips

* Stop Auto Attack before changing maps.
* Use `Show Current` after configuring so you can catch wrong IDs or thresholds.
* Keep potions, Fly Wings, and required skill catalysts in your inventory.
* Test your setup near town first before leaving it running.


---

# Agent Instructions: 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:

```
GET https://vanro-global.gitbook.io/vanro-global-docs/features/autoattack.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
