Index: slow.lua =================================================================== --- slow.lua (revision 4415) +++ slow.lua (working copy) @@ -21,14 +21,18 @@ local dMND = (caster:getStat(MOD_MND) - target:getStat(MOD_MND)); local bonus = AffinityBonus(caster, spell:getElement()); - --Power. - local power = 150 + dMND * 2; - if(power > 300) then - power = 300; + local potency = 150 + dMND * 2; + + -- (150 + dMND*2)/1024 + + if(potency > 300) then + potency = 300; end - --Duration, including resistance. + local power = potency / 1024; + local duration = 120 * applyResistance(caster,spell,target,dMND,35,bonus); + if(duration >= 60) then --Do it! if(target:addStatusEffect(EFFECT_SLOW,power,0,duration, 0, 1)) then