gearStatsKit.package
- ..
- .metadata321 B
- README.md1.6 KB
- schema.yaml798 B
This package holds more than this page lists. See all of its files in its world.
README.md
gearAffix (dataType contract)
One random modifier a rolled item can carry: "+12% Move Speed", "+3 Life on Hit". Every .data asset bound to gearStatsKit.gearAffix anywhere in a world is found by itself (or Gear.defineAffix(raw) from code). Rarity decides how many affixes an item rolls (common 0, uncommon 1, rare 2, epic 3, legendary 4); an item never rolls two affixes on the same stat.
| Field | Meaning |
|---|---|
id | Stable id. |
stat | The gearStatsKit stat it adds to (damage, damagePercent, attackSpeed, critChance, critDamage, fireDamage, coldDamage, lightningDamage, areaSize, lifeOnHit, lifeSteal, maxHealth, healthRegen, armor, thorns, fireResist, coldResist, lightningResist, moveSpeed, cooldownSpeed, maxResource, resourceRegen, goldFind, magicFind, xpBonus, or a stat a game added with Gear.defineStat). Whether it reads as flat or percent comes from the stat. |
type | prefix or suffix: where its name goes in the item's name ("Serrated Sword" / "Sword of the Bear"). |
min, max | The value range at item level 1, before quality. |
perLevel | Growth per item level above 1 (0.05 = +5% of the value per level). |
round | Decimal places kept (0 = whole numbers). |
kinds | Which gear kinds can roll it (weapon, armour, jewelry). |
slots | Limit to these slots (empty = any slot of those kinds). |
weight | How often it is picked among the affixes allowed. |
minLevel | The lowest item level it appears at. |
nameFantasy, nameScifi | Its name in each naming theme ("of the Bear" / "Mk II"). |