Anonymous

Module:Monsters: Difference between revisions

From Melvor Idle
no edit summary
(Fix typo in function name)
No edit summary
Line 939: Line 939:


local resistance, text = p._getMonsterResistance(monster)
local resistance, text = p._getMonsterResistance(monster)
if resistance <= 0 then
 
return ''
end
local result = {}
local result = {}
table.insert(result, '|-\r\n| style="font-weight: bold;" | ' .. Icons.Icon({text, size=16, nolink="true"}) ..':')
table.insert(result, '|-\r\n| style="font-weight: bold;" | ' .. Icons.Icon({text, size=16, nolink="true"}) ..':')