Log inGet started
World

Gearwright (replaced by gearStatsKit): old item stats kit

Branchmain
Branchesmain
Commit88eee65b91

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 gearKit.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.

FieldMeaning
idStable id.
statThe gearKit stat it adds to (damage, damagePercent, attackSpeed, critChance, maxHealth, armor, moveSpeed, cooldownSpeed, lifeOnHit, resourceRegen, fireResist, coldResist, lightningResist, or a stat a game added with Gear.defineStat). Whether it reads as flat or percent comes from the stat.
typeprefix or suffix: where its name goes in the item's name ("Serrated Sword" / "Sword of the Bear").
min, maxThe value range at item level 1, before quality.
perLevelGrowth per item level above 1 (0.05 = +5% of the value per level).
roundDecimal places kept (0 = whole numbers).
kindsWhich gear kinds can roll it (weapon, armour, jewelry).
slotsLimit to these slots (empty = any slot of those kinds).
weightHow often it is picked among the affixes allowed.
minLevelThe lowest item level it appears at.
nameFantasy, nameScifiIts name in each naming theme ("of the Bear" / "Mk II").