# LootBox System

The LootBox is a random box containing special rewards, which will appear as soon as users finish an activity. ([For Reference](https://medium.com/runblox/lootbox-is-finally-here-the-latest-exciting-feature-is-live-on-runblox-app-4b84a1e0dead))

### Opening Cost, Validity & Rewards

<table><thead><tr><th width="95" align="center">Level</th><th width="93" align="center">Images</th><th width="177" align="center">Rarities of LootBox</th><th width="135" align="center">Validity Period (hour)</th><th width="121" align="center">Opening Cost (RUX)</th></tr></thead><tbody><tr><td align="center">1</td><td align="center"><img src="https://content.gitbook.com/content/jOC5KBt9AdqXy1ozw4dD/blobs/3TweiOXkFPXwrmdIrjos/Frame%203055.svg" alt="" data-size="line"></td><td align="center">Common </td><td align="center">24</td><td align="center">10</td></tr><tr><td align="center">2</td><td align="center"><img src="https://content.gitbook.com/content/jOC5KBt9AdqXy1ozw4dD/blobs/OXXWbWSyWPX5tUNOugwT/2.svg" alt="" data-size="line"></td><td align="center">Rare</td><td align="center">36</td><td align="center">20</td></tr><tr><td align="center">3</td><td align="center"><img src="https://content.gitbook.com/content/jOC5KBt9AdqXy1ozw4dD/blobs/ddH4teAyzszotEMXtuIq/3.svg" alt="" data-size="line"></td><td align="center">Epic</td><td align="center">48</td><td align="center">50</td></tr><tr><td align="center">4</td><td align="center"><img src="https://content.gitbook.com/content/jOC5KBt9AdqXy1ozw4dD/blobs/YHk53cF7R7I32U4xHLUz/4.svg" alt="" data-size="line"></td><td align="center">Hero</td><td align="center">60</td><td align="center">100</td></tr><tr><td align="center">5</td><td align="center"><img src="https://content.gitbook.com/content/jOC5KBt9AdqXy1ozw4dD/blobs/sOiNk4MZcLxObfaOUsMp/5.svg" alt="" data-size="line"></td><td align="center">Legendary </td><td align="center">72</td><td align="center">200</td></tr></tbody></table>

* **Validity period**

The page will prompt the user as long as the current LootBox is still valid for the remaining valid time.

The LootBox should be opened before its expiry time.

If the user fails to open the LootBox before the expiry time, the LootBox will automatically be discarded.

* **Opening cost**&#x20;

To open a LootBox, you will need to pay a certain amount of RUX as an opening fee.

* **Rewards**

There will be a 50% chance of getting either 1% RUX or double the opening cost of each LootBox.

### Description of the LootBox drop rate and rarity

#### Step 1. Calculation of drop rate

<table><thead><tr><th width="150" align="center">Parameters</th><th align="center">Proportion</th><th align="center">Value Range</th></tr></thead><tbody><tr><td align="center">Energy Consumption</td><td align="center">Low</td><td align="center">≥ 1</td></tr><tr><td align="center">Shoe Luck</td><td align="center">High</td><td align="center">≥ 0</td></tr></tbody></table>

**Formula**

<img src="https://content.gitbook.com/content/jOC5KBt9AdqXy1ozw4dD/blobs/8Nhry0RKQRUuG3GjmZzN/F2.jpeg" alt="" data-size="original">

*L = Arctangent function control parameter*&#x20;

*A = The weighted average of energy consumption value and the shoe Luck attribute value*&#x20;

*Do= Upper limit of dropping rate*&#x20;

*D  = Drop index*

#### Step 2. The Rarity of the LootBox

The Rarity is determined by the LUCK score.&#x20;

As the value of LUCK increases, so does the rarity of the LootBox and the score.

There will be 10 different ranges of LUCK scores.

![](https://content.gitbook.com/content/jOC5KBt9AdqXy1ozw4dD/blobs/cSANjgSzOK43kAjcMbre/Screenshot%202022-08-17%20at%2010.43.57.png)

### LootBox activity

For future activities, we will add even more prizes to high-quality boxes.
