# Battle Mechanism

**Basic Battle Rules:**&#x20;

Generals lead soldiers to form combat units.

Battles in the game are turn-based.&#x20;

The attacking and defending sides take turns based on their speed values. If their speed values are the same, then the attacking side goes first.&#x20;

In each battle, the number of troops lost by the attacked side is calculated, and if one side's troop count falls to 0, they lose the battle.

**Battle Formula:**&#x20;

***Number of enemy troops killed by the attacking side = Attacking side's attack \* General counterattack coefficient / Defending side's defense \* Current number of troops for the attacking side / 10.***


---

# 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.leagueofthrones.com/game-play/battle-mechanism.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.
