Programming, Statistics.
player is not yet obtained the level 4 rarity item, then the 10th roll will guarantee player to obtain the level 4 rarity item. This roll is usually called a pity roll. If in 89 consecutive rolls, the player is not yet obtained the level 5 rarity item, then the 90th roll will guarantee player to