Loot boxes are a popular feature in many games, but have you ever wondered how they work? Let’s break down the four formulas that make this work.

[This video was made in response to a Help Desk inquiry. If you prefer written instructions, read below! ](https://www.loom.com/share/20c8b2f0833e4868b9ee2ccd7bd5d990)

This video was made in response to a Help Desk inquiry. If you prefer written instructions, read below!

Dice Roll Formula

How is the dice roll calculated?


The first step in the loot box system is the dice roll. The system looks at the number of reflections you have done divided by the number of reflections you should be doing. If the result is equal to one, then the system proceeds to the calculation.

The system then generates a random number using the ID of the Notion page. This is the best possible randomization. Then, the system obtains a dice roll that is limited between 1 and 19 or 1 to 20.

Untitled

Rarity Earned Formula

What determines whether an item is common, epic, or legendary?


Using a previously earned function that reads the stats number, the system determines whether the item should be common, epic, or legendary based on whether the dice roll is between 1 to 10, 10 to 16, or 16 to 19. Any roll above 19 is considered legendary.

guilded_image_336b4b2eafd9150e04aa7825a9487c9a.png

Reward Rarity