Anonymous

Module:Monsters: Difference between revisions

From Melvor Idle
_getMonsterStyleIcon: Revert change to use adjusted Icon override instead
(Changed monster style icon for melee to Attack)
(_getMonsterStyleIcon: Revert change to use adjusted Icon override instead)
Line 109: Line 109:
local iconText = ''
local iconText = ''
if monster.attackType == 'melee' then
if monster.attackType == 'melee' then
iconText = Icons.Icon({'Attack', type='skill', notext=notext, nolink=nolink})
iconText = Icons.Icon({'Melee', 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})