Anonymous

Module:Monsters: Difference between revisions

From Melvor Idle
getOtherMonsterBoxText: Correct logic for determining if monster is a Slayer monster or not
m (fixed a typo)
(getOtherMonsterBoxText: Correct logic for determining if monster is a Slayer monster or not)
Line 584: Line 584:


   local SlayerTier = 'N/A'
   local SlayerTier = 'N/A'
   if not p._isDungeonOnlyMonster(monster) then
   if monster.canSlayer then
     SlayerTier = Constants.getSlayerTierNameByLevel(p._getMonsterCombatLevel(monster))
     SlayerTier = Constants.getSlayerTierNameByLevel(p._getMonsterCombatLevel(monster))
   end
   end