Anonymous

Module:Monsters: Difference between revisions

From Melvor Idle
fixed oversized curse icons
(Added curse effect description to monster special attacks)
(fixed oversized curse icons)
Line 548: Line 548:
if hitEffect.effectType == 'Curse' then
if hitEffect.effectType == 'Curse' then
local curse = Magic.getSpellByID(hitEffect.curse, 'curse')
local curse = Magic.getSpellByID(hitEffect.curse, 'curse')
result = result..'\r\n** '..Magic._getSpellIcon(curse)..' '..curse.name..': '..Magic._getSpellDescription(curse, true)
result = result..'\r\n** '..Icons.Icon({curse.name, type='curse'})..': '..Magic._getSpellDescription(curse, true)
end
end
end
end