gachaKit.package
README.md
gachaKitTests
Checks the four rarity styles, banner validation, the pity distributions (soft pity ramp, hard pity, the 10-pull guarantee), that 100,000 seeded pulls land on the per-pull rates (pity off) and on the long-run rates with pity (pity on) the odds panel shows for every tier and every item, that an always-unlucky player gets the top tier exactly at hard pity and the guarantee every 10, the documented luck formula and 100k pulls at luck 5, that Gacha.odds returns the same numbers as the rates module, duplicates as currency and as upgrades, the authority refusing a player who cannot pay (and forged counts, banners and unknown machines) without touching their wallet or record, retries never charged twice, tickets paying first, pity kept per player and banner across a reloaded host, a forged record being put back, and per-player luck on the authority. It leaves the screens and presentations to be checked by eye in the showcase. Run: tools.use("tests", "run", { suite = "gachaKitTests" }).