Module:Monsters: Difference between revisions

Changed monster style icon for melee to Attack
(_getAfflictedMonsterIdList: Remove in favour of game data (AreaData.itm.monsters))
(Changed monster style icon for melee to Attack)
Line 109: Line 109:
local iconText = ''
local iconText = ''
if monster.attackType == 'melee' then
if monster.attackType == 'melee' then
iconText = Icons.Icon({'Melee', notext=notext, nolink=nolink})
iconText = Icons.Icon({'Attack', type='skill', notext=notext, nolink=nolink})
elseif monster.attackType == 'ranged' then
elseif monster.attackType == 'ranged' then
iconText = Icons.Icon({'Ranged', type='skill', notext=notext, nolink=nolink})
iconText = Icons.Icon({'Ranged', type='skill', notext=notext, nolink=nolink})