Log inGet started
World

Drop Tables Kit: Weighted Loot Rolls with Pity Timer

Branchmain
Commit91ce3c958c

README.md

dropTablesKit test suite

Checks the five presets (chance, weights, rate), that roll drops at the expected rate over many seeded rolls, that pity forces a drop after the dry streak and resets, that kinds multipliers and a guaranteed boss work, that custom tables with any item ids and an explicit item order work, odds sum to 1, pick never returns nil with weights, and seeded sources are deterministic.

It leaves the pickups a game spawns from the results to the game. Run: tools.use("tests", "run", { suite = "dropTablesKit" }).