Anonymous

Module:Monsters: Difference between revisions

From Melvor Idle
Accounting for Stun Damage Multiplier for spec attacks.
(Formatting tweaks for the override)
(Accounting for Stun Damage Multiplier for spec attacks.)
Line 232: Line 232:
       else
       else
         thisMax = normalMaxHit
         thisMax = normalMaxHit
      end
      if specAttack.stunDamageMultiplier ~= nil and specAttack.stunDamageMultiplier > 1 then
        thisMax = thisMax * specAttack.stunDamageMultiplier
       end
       end
       if thisMax > specialMaxHit then specialMaxHit = thisMax end
       if thisMax > specialMaxHit then specialMaxHit = thisMax end