> For the complete documentation index, see [llms.txt](https://herobattle.gitbook.io/herobattle/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://herobattle.gitbook.io/herobattle/tutorial/gameplay/story.md).

# Story

![](/files/-MhT1pGdAt-UGpueqXjH)

Under the protection of the Almighty Lord, the world was always filled with light and peace, until one day… The Demon King emerged from the chaos of darkness, intending to attack & destroy all life on the planet. To protect the world, the Almighty Lord used all his strength and fought the Demon King. The fierce battle raged for days and nights until the Almighty Lord decided to sacrificed his final powers to defeat the Demon King. These powers derive form the five energy elements: Metal, Wood, Water, Fire, and Earth.

The key to the victory was a collection of five energy element-related stones guarded by five races, each representing one of these five elements. As time goes by, along with the development of civilization, the greed in people also grows. Since then, a war between the five races has erupted, weakening both sides. Without the protection and unity of the five races, the power of the sealing stones dwindled. An oracle predicted that the day when the Demon King would be released from the seal was approaching. To defeat the Demon King's dark power, the only way is to gather the strength of the five energy stones, open five pathways, and summon Heroes from the five parallel worlds. The day the darkness begins to fall, the five heroes appeared! RISE UP, OUR HEROES!


---

# 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://herobattle.gitbook.io/herobattle/tutorial/gameplay/story.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.
