Module:Monsters: Difference between revisions

m
trying to fix
(tried to add an asterisk to max hits for monsers with specials)
m (trying to fix)
Line 244: Line 244:
   if normalChance == 0 then normalMaxHit = 0 end
   if normalChance == 0 then normalMaxHit = 0 end
   if monster.hasSpecialAttack then
   if monster.hasSpecialAttack then
     return normalMaxHit..'*'
     return toString(normalMaxHit)..'*'
   else
   else
     return math.max(specialMaxHit, normalMaxHit)
     return math.max(specialMaxHit, normalMaxHit)
892

edits