Quote (laztheripper @ 14 Aug 2019 14:29)
well that's just what it reads from the mpq table, from there I'm 99% sure it's correct.
yeah those numbers are correct from the table but you need to calculate the aLvl with iLvl and qLvl of the item
you can't just compare the aLvl of the affix to the iLvl of the item
here's the formula for aLvl based on iLvl/qLvl:
Code
if ilvl < (99 – int(qlvl/2)= then affix level = ilvl - int(qlvl/2) else affix level = ilvl * 2 - 99
for example the king's mod is aLvl 56, but on a martel (qLvl 53) you need an iLvl of 78+ for the aLvl to be 56+
if 78 < (99 -int(53/2) = false
then aLvl = 78 -int(53/2) = 52else aLvl = 78 * 2 - 99 = 57
57 is >= 56 so kings can spawn