# Battle Function

The Battle Function is defined as a fully automated battle system. A round of battle is defined as all combat units striking once in that turn. Players can place their heroes in a 2\*3 formation, with a maximum of 4 heroes.

<figure><img src="/files/3G6fyaatuSCt3sGAHuv7" alt=""><figcaption><p>The Battle Function in the ArenaHall</p></figcaption></figure>

During the battle, priority is given to front-row attacks and back-row attacks. In the Main Chapter, Heroes belonging to Players will move first. In Arena Hall, Whether or not players attack first depends on their Courage points which are shown on hero pages.

<figure><img src="/files/b3yFqO6scdjNkQaIiLrc" alt=""><figcaption><p>The Battle Function in the Main Chapter</p></figcaption></figure>

The element restrictions and hero attributes associated with NFT fashion will have additional effects in battles, players can explore the specific details by themselves. During the battle, players can check BUFF directly by clicking the hero. Especially, the hero’s skills are released automatically during the battle, and the number of rounds required to release each skill is different. Players can find specific information in the skill description on the Hero page. Before participating in battles, players need to place heroes on the Battle Team from hero lists.

<figure><img src="/files/cRsXV9BvUxTw9BfXSQWj" alt=""><figcaption><p>Attributes attached to NFT Fashions</p></figcaption></figure>

<figure><img src="/files/uza0RhJYnGypHhwkXe6H" alt=""><figcaption><p>The BUFF can be viewed by clicking on the hero</p></figcaption></figure>

### Energy Setting

Players can confirm the “Energy” of maximums on the right side of their character avatar. The power of all heroes already on the battle team is shown below the energy points.

<figure><img src="/files/cpMDHXrqZUT4qP7Q9bhL" alt=""><figcaption></figcaption></figure>

The Energy setting is a new independent system. When players are trying different gameplay (ArenaHall, Main Chapter), these actions need to consume Energy. Also, players need to check the balance of energy before those actions.

The specific features of the Energy System:

1\. Energy has a maximum limit.

2\. Energy Recovery is slowly restored according to time.

3\. Energy Potions can be purchased by $Burger.


---

# 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://burgerswap.gitbook.io/burgercities/gameplay/battle-function.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.
