Module:Monsters: Difference between revisions

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"}) ..':')