> For the complete documentation index, see [llms.txt](https://mixmarvel.gitbook.io/dehero/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mixmarvel.gitbook.io/dehero/zhi-ya/2-1.md).

# Draw cards stakes

Staking HEROES to extract NFT card package.

‌Users can receive NFT card packs by staking a certain number of HEROES. Based on the number of Staked HEROES, players can obtain NFT card packs of corresponding quality levels. The more HEROESstaked, the higher the quality of the NFT cards player could get.

![](/files/-Mb5gN7ynZprtcg2SaJ9)

‌Tip: authorization is required before staking. Both staking and authorization are on-chain operations. It will consume a certain amount of BNB as the GAS fee.

**The probability of cards draw is shown below**

1\. The card quality from low to high is: white, green, blue, purple, orange, and gold.

2\. A single HEROES stake of a corresponding number can guarantee the obtainment of NFT cards of the same quality; also, there is a certain chance to get high-quality cards. For example, if users stake 80 HEROES, users will gain an orange rate NFT card. Still, users also have the opportunity to possibly gain a golden quality card.

3\. Adjust the number of cards staked to get a corresponding number of card packs. Each card pack contains only 1 random hero. The quality is based on the rate achieved by a HEROES’s quantity that is staked.

![](/files/-Mb5gSl8XXZHTjqLuBhN)

**Collect card mining income and card set total combat capacity.**

1\. The income of card mining would be depending on the proportion of the total fighting capacity of the card set in the fighting capacity of the whole server. The higher the ratio, the more rewards players would receive.

2\. The total combat capacity of the card set = the total amount of the fighting capacity of each NFT card—including card combination bonus and card slot upgrade bonus—that has been placed in the card set and multiplied by (1 + proportional card collectibles bonus)


---

# 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://mixmarvel.gitbook.io/dehero/zhi-ya/2-1.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.
