Log inGet started
Package

gearLootTable.dataType

Newest version

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.

FieldMeaning
id, nameThe table id (tier3) and a display name.
nothingWeightWeight of dropping nothing (against the sum of the rarity weights).
common .. legendaryThe weight of each rarity.
levelBonusAdded to the item level the drop is rolled at.
basesOnly these base ids (empty = every base).