> For the complete documentation index, see [llms.txt](https://docs.heroesdefense.games/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.heroesdefense.games/about-game/pve-game-mode/campaign.md).

# Campaign

### Rule

* Unlocked from the start of the game.
* The campaign consists of multiple chapters, each chapter containing a certain number of nodes.
* To proceed to a new node, the previous node must be completed, and to proceed to a new chapter, all nodes of the previous chapter must be completed.
* There is no limit to the number of times a node can be attacked until it is cleared. However, players will consume stamina for each attack.
* A node is considered fully cleared when the player achieves <mark style="color:yellow;">**3 stars**</mark> in that level. The conditions for achieving each star will be specified for each level, mainly completing the level, preventing any enemies from entering the main base, etc.
* Upon clearing a node, players will receive rewards, which consist of **2 types**:&#x20;

**First-time Reward** is the reward received when the conditions for obtaining stars are met (only received once per node).&#x20;

**Farmable Reward** is mainly a small amount of gold, experience, players can replay nodes to earn more of these resources

* To unlock other features of the game, it is based on campaign progression.&#x20;

### Node Design

* Each node will have its own unique map, including enemy positions, the main base, and different paths.
* Each node will have the following specified parameters: **Initial cost** (to deploy heroes), **Number of enemies**, **Main base health** (for each enemy, except the boss, that enters the main base, the health will be reduced by <mark style="color:blue;">**1**</mark>, when the health is depleted, it is considered a loss).
* The number of heroes allowed to be carried is <mark style="color:blue;">**10 for each level**</mark>, but the maximum number of heroes that can be deployed at the same time in a battle is <mark style="color:blue;">**8**</mark>. There will be special levels where the number of heroes that can be carried and deployed will change, but mostly it is <mark style="color:blue;">**10 and 8**</mark>.
* The difficulty of each level will gradually increase, mainly by increasing enemy strength, adding enemies with special skills, adding paths for enemies, etc.
* At the end of each chapter, a boss will appear, and when the boss enters the main base, all the health of the main base will be deducted.

### Stage Info

* Enemy formation.
* Rewards of each node.

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

### Friend & Clan Member Progression

### Quick Battle

### Reward

* Gold
* Hero EXP
* Account EXP
* Gear
* Hero


---

# 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://docs.heroesdefense.games/about-game/pve-game-mode/campaign.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.
