Log inGet started
Package

gachaKit.package

Newest version

README.md

rates

The odds as pure functions with no engine calls: the four rarity styles (classic, stars, gems, metals) with their tiers and default rates, banner checking (normalize), the chance of every tier on a player's next pull with soft pity, hard pity and the every-N guarantee (tierDist), each item's share of its tier (itemDist), the exact long-run share of every tier and item with pity included (effective, a renewal calculation, not a simulation), the documented luck formula (luckRates, withLuck), one pull through dropTablesKit's weighted picks (roll) and the counters after it (step), plus the plain-words pity rules the odds panel prints (rules). Called by gachaKit.host (the roll), gachaKit.gacha (Gacha.odds) and the tests, so what the odds panel shows is computed from the very tables the roll uses.