Game dev
Saved & recent

Loot table

Related terms: drop rate, weighted random, rarity, pity timer

A list of possible rewards with a weight for each. The game rolls a random number and picks the item whose slice it lands in. A bigger weight means a bigger slice.

Tables are often nested: roll the rarity first, then an item of that rarity. Pure randomness produces long unlucky streaks, so many games add a pity timer that raises the odds after every miss until the rare item is guaranteed.

Further reading
RPG Architect Documentation: Loot Tables
roll 0.54 0 1 common 70% rare 21% epic 7% legendary 2%
The four weights divide the roll interval into 70%, 21%, 7% and 2%. The example roll of 0.54 lands in the common interval.

View in the full Game dev collection