# Adventure

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

PokéBen Adventure is a game feature where you can explore a vast world filled with excitement and treasure!

As you journey through the different maps, you'll encounter all sorts of challenges and obstacles. But with every challenge comes the opportunity to uncover valuable loot drops and treasures. You'll need to use all your skills as a PokéBen trainer to navigate through the treacherous terrain, defeat powerful enemies, and emerge victorious.

### Preparation Cost

Minimum preparation cost is 2 EBEN.

*75% of preparation cost is burned and 25% goes to the hidden treasure of that map.*

### Boss

Anyone can assign a boss to an unoccupied map. Challengers will have a chance to capture the boss in an adventure.

Currently Supported Bosses:

* Cackles

The boss NFT is permanently donated to the map with an assignment and the assigner gets no benefit from it. However, the assigner can provide a custom dialog and it will be presented along with the boss on the map page. *<mark style="color:red;">We reserve the right to take down a boss if we believe the dialog is very improper, but we will refund the boss token to the assigner in such a case.</mark>*

### Calculations

Chance of level up (max: 50%):&#x20;

```
const total = 4 * (10**rarity);
const max = total / 2;
const chance = Math.min(cost, max) / total;
```

Chance of finding hidden treasure (max: 50%):&#x20;

```
const total = 20000;
const max = total / 2;
const chance = Math.min(cost, max) / total;
```

Chance of an item drop (max: 50%):&#x20;

```
const total = 28 * (10**(itemRarity+1));
const max = total / 2;
const chance = Math.min(Math.sqrt((Math.sqrt(power)) * cost, max) / total;
```

Chance of capturing the boss (max: 10%):&#x20;

```
const total = 15000;
const max = total / 10;
const chance = Math.min(Math.sqrt((Math.sqrt(power)) * cost, max) / total;
```

Estimated PBC rewards:

```
const rewards = Math.random() * 500 * cost;
```


---

# 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.benswap.cash/features/pokeben/adventure.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.
