# Combat system

{% hint style="warning" %}
**No Manual Targeting Required**

Insomnus uses an automatic combat system. Your character attacks nearby enemies without input. Your focus should be entirely on positioning and movement.
{% endhint %}

{% hint style="info" %}
**No skill buttons**

All skills trigger automatically, including dash.

The only manual actions are **Health Potion** and **Armor Potion**.
{% endhint %}

### How Auto-Combat Works

{% stepper %}
{% step %}

### Detection Range

Your character automatically detects enemies within attack range.
{% endstep %}

{% step %}

### Continuous Fire

Attacks execute automatically while enemies are in range.
{% endstep %}

{% step %}

### Directional Facing

Your character faces the current target.
{% endstep %}
{% endstepper %}

### Strategic Implications

Since you don't control targeting directly, survival depends on:

<table><thead><tr><th width="305.4564208984375">Factor</th><th>Strategy</th></tr></thead><tbody><tr><td><strong>Positioning</strong></td><td>Stand where your attacks hit priority targets</td></tr><tr><td><strong>Range Management</strong></td><td>Stay at optimal distance for your weapon</td></tr><tr><td><strong>Threat Assessment</strong></td><td>Move toward high-priority targets, away from crowds</td></tr></tbody></table>

## Survival Systems

### Health & Death

<table><thead><tr><th width="305.4561767578125">Mechanic</th><th>Description</th></tr></thead><tbody><tr><td><strong>Health Points</strong></td><td>Deplete to zero = death</td></tr><tr><td><strong>Armor Points</strong></td><td><ul><li>When deplete to zero, enemies damage hit health directly</li><li>Enemies drop armor orbs</li></ul></td></tr><tr><td><strong>Stamina Points</strong></td><td><ul><li>When deplete to zero, player is slowed and sight is limited.</li><li>Enemies drop stamina orbs</li><li>Standing still regens stamina</li></ul></td></tr><tr><td><strong>No Natural Regeneration</strong></td><td>Health does not regenerate during a run</td></tr><tr><td><strong>One Life</strong></td><td>No continues, no checkpoints</td></tr><tr><td><strong>Permadeath</strong></td><td>Each death ends the current run completely</td></tr></tbody></table>

### Orb drops (enemy kills)

{% hint style="success" %}
**Important:** Orbs are the main way to gain XP and recover during a run.
{% endhint %}

Monsters can drop orbs on death. Collect an orb by running over it.

Drop rates can vary by enemy difficulty.

#### Orb types

| Orb             | Effect                                     | Drop rate     |
| --------------- | ------------------------------------------ | ------------- |
| **XP Orb**      | Grants XP to help level up your character. | Common        |
| **Health Orb**  | Restores player health.                    | Low           |
| **Armor Orb**   | Restores player armor.                     | **Rare (5%)** |
| **Stamina Orb** | Restores player stamina.                   | **Rare (5%)** |

{% hint style="success" %}
**Tips:** There are pets that can help with gathering orbs such as "Gloop"
{% endhint %}

{% hint style="warning" %}
Armor/Stamina Orbs are intentionally rare. Don’t rely on them for survival.
{% endhint %}

## Tips for Combat

{% hint style="success" %}
**Essential Survival Tips**

* **Keep Moving**: Standing still is death
* **Don't Chase Enemies**: Let them come to you
* **Learn Enemy Patterns**: Each type has predictable behavior
* **Watch Your Armor**: Armor allows you to receive minimal damage from enemies
* **Regen Your Stamina**: Always remember to stand still and regen your stamina above 50%
* **Save Health/Armor Potions**: Use them when truly needed, not at first scratch
  {% endhint %}

### Common Mistakes

| Mistake         | Why It Hurts                  | Solution                     |
| --------------- | ----------------------------- | ---------------------------- |
| Standing still  | Get surrounded quickly        | Always be moving             |
| Chasing kills   | Run into more enemies         | Let enemies come to you      |
| Hugging walls   | You get boxed in fast         | Leave yourself escape routes |
| Wasting potions | No healing when really needed | Save for critical moments    |

*Master movement, master survival.*


---

# 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://docs.insomnus.xyz/core-gameplay/combat-system.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.
