# Hero Upgrade&#x20;

### Overview

The Merge Hero system in Pixiland allows players to upgrade their heroes by merging two identical heroes to create a stronger version. This feature enhances gameplay by enabling progression and encouraging players to collect and upgrade their heroes strategically.

### Upgrade Rules

**Same Hero Requirement:** Only two identical heroes can be merged.

**Star Level Upgrade:** The merged hero will gain +1 star level.

**Max Star Level:** Heroes can be merged up to a maximum of 5 stars.

**Resource Cost:** Merging heroes requires a specific amount of in-game resources.

| Star Level | $Gold | Gem |
| :--------: | :---: | :-: |
|      2     |  5000 |  4  |
|      3     | 10000 |  8  |
|      4     | 15000 |  12 |
|      5     | 20000 |  16 |

**Stat Boost**: The new hero will have improved attributes based on predefined scaling factors.


---

# 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.pixiland.app/hero/hero-stats/hero-upgrade.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.
