> For the complete documentation index, see [llms.txt](https://wiki.frontierro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.frontierro.com/server-features/autoattack-system.md).

# Auto-Combat System

## ⚔️ Auto-Combat

Auto-Combat lets you grind hands-free — it picks targets, fights, loots, heals, and stops on the conditions you set, all configured through an in-game NPC. It's **free for everyone** (no VIP required) and fully allowed under the **Server Rules**.

{% hint style="warning" %}
**Auto-Combat has a 20% penalty to drop rate only.** It does **not** affect EXP — your experience gains are unchanged. The penalty applies strictly to item drop rates.
{% endhint %}

### 💡 What it does

* **Picks targets** and attacks them automatically.
* **Walks between mobs** within a configurable radius.
* **Loots drops** by your loot rules (pick everything, pick by ID, or pick by type).
* **Uses potions** when HP / SP drop below configurable thresholds.
* **Casts buffs / heals** on yourself, on a timer or by trigger.
* **Sits to regen** when out of combat and below an HP/SP %.
* **Teleports** when surrounded, when stuck, or when a specific mob shows up.
* **Stops on conditions** (HP critical, full inventory, weight %, specific monster, timer, etc.).

It does **not**:

* Move you between maps automatically (no auto-warp to a new field).
* Pick up cards / equipment unless your loot rules say so.
* Cast offensive skills outside the configured skill list.
* Make ranged-pulls or AoE-pulls that look botted (configurable, but conservative by default).

### 🎛️ The panel

The NPC opens a menu tree. Top-level items:

* 🎮 **Main Menu** — start/stop, save profile, load profile.
* ⚙️ **Configuration** — radius, attack mode, target rules.
* 📦 **Pick-Up Items** — global loot toggle, per-ID loot list.
* 👹 **Monsters** — whitelist / blacklist mobs.
* ✈️ **Teleport** — fly-wing rules.
* 🪑 **Regeneration** — sit-to-regen thresholds.
* ✨ **Heal** — auto-heal skill rules.
* 🧪 **Potion** — HP/SP potion thresholds and item IDs.
* 🗡️ **Attack Skills** — which skill to spam, and at what level.
* 🛡️ **Buff Skills** — self-buff timers.
* 🍖 **Buff Items** — auto-consume buff foods / scrolls.
* 🏁 **Action on End** — what to do when a stop condition fires (sit, log out, autotrade, etc.).
* ♻️ **Reset All** — wipe profile.

### ✅ Best practices

* **Start conservative.** Set teleport conditions before you walk away — a Knight with no flywing rule in Magma 2 dies fast.
* **Use type-loot for hunting.** "Loot healing items" + "Loot usable" works for most maps; toggle equip / card loot only when you're actually card-hunting.
* **Don't park on KS-sensitive maps.** Auto-Combat doesn't know about player politeness — if a real player shows up, sit and wait or move on.
* **Watch your HP-pot floor.** A low pot threshold + a cheap pot = an empty wallet. The default thresholds are tuned for white potions and meatballs, not blue / green pots.

### 📜 Stop reasons & log

When Auto-Combat stops, the chat log tells you why ("HP below 20%", "Inventory full", "Target killed", etc.). Read it before restarting — the same stop reason will just fire again.

### ❓ FAQ

**"Is this allowed?"** Yes — see the Server Rules. Injected botting is not; this is.

**"Can I AFK overnight with it on?"** Yes, with sensible stop conditions. Don't AFK on a map where you're blocking other players' choke points or warps.

**"Does VIP give me extra Auto-Combat features?"** No — Auto-Combat is available to everyone equally. VIP perks are listed on the **VIP Subscription** page.

**"My target keeps changing mid-combat."** Tighten the radius, or enable "stick to target" in the attack rules.

**"It won't heal me."** Check that your Auto-Heal skill rule is enabled, the skill is on your bar, and your SP is high enough. If you're a non-caster, set up HP-pot rules instead.


---

# 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://wiki.frontierro.com/server-features/autoattack-system.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.
