Anonymous

Module:Monsters: Difference between revisions

From Melvor Idle
Fixed an issue with a fixed typo breaking a different thing
(getSpecAttackMaxHit: Implement conditional bleed/poison damage (to be reviewed again in the future))
(Fixed an issue with a fixed typo breaking a different thing)
Line 362: Line 362:
         result = 0
         result = 0
       else
       else
         result = dmg.maxPercent * normalMaxHit
         result = dmg.maxPercent * normalMaxHit * 0.01
       end
       end
     elseif Shared.contains({'Bleeding', 'Poisoned'}, dmg.maxRoll) then
     elseif Shared.contains({'Bleeding', 'Poisoned'}, dmg.maxRoll) then