·
datatype · drop-in viewer
asset⌬ datatypedataTypeprimary: schema.yaml·part ofpackage gearStatsKit.package·originates fromworld ab59d7f2-3…
gearLootTable.dataType
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…
by·posted 7d ago
What it does
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.
| 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). |
tier | The table's tier (1 to 4): uniques and set pieces with a minTier above it never drop from it. |
uniqueChance | Chance (0 to 1) that a legendary drop is a fixed-stat unique instead of a random legendary. |
setChance | Chance (0 to 1) that an epic or legendary drop is a set piece. |
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.