Gearwright (replaced by gearStatsKit): old item stats kit
- ..
- .metadata256 B
- README.md702 B
- schema.yaml535 B
README.md
gearLootTable (dataType contract)
A gear drop table: the odds of each rarity, the chance of no drop, an item level bonus and an optional list of bases. Gear.rollDrop({ level, depth, luck, seed, table }) rolls one. gearKit ships tier1 to tier4, each with better odds than the last; Gear.defineTable(name, raw) adds one from code.
| Field | Meaning |
|---|---|
id, name | The table id (tier3) and a display name. |
nothingWeight | Weight of dropping nothing (against the sum of the rarity weights). |
common .. legendary | The weight of each rarity. |
levelBonus | Added to the item level the drop is rolled at. |
bases | Only these base ids (empty = every base). |