Log inGet started
Package

gearLootTable.dataType

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. gearStatsKit 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).
tierThe table's tier (1 to 4): uniques and set pieces with a minTier above it never drop from it.
uniqueChanceChance (0 to 1) that a legendary drop is a fixed-stat unique instead of a random legendary.
setChanceChance (0 to 1) that an epic or legendary drop is a set piece.