Forge of Fortune: Diablo-Style Item Stats, Affixes, Sets and Uniques Kit
README.md
gearStatsKit.stats
The stats gear rolls and how each applies. Each stat has a card label, a mode (flat reads "+12 Armour", percent reads "+12% Move Speed"), a power weight, and the abilitiesKit stat (akStat) and modifier kind (akMode) it becomes when equipped. Gear.defineStat(name, raw) adds one. AK_DEFS are the abilitiesKit stats gearStatsKit defines on first use: weaponDamage, attackSpeed, critChance, critDamage, lifeOnHit, fireResist, coldResist, lightningResist.