Module:Monsters: Difference between revisions

Changed - after slayer area to : and added text-negative class
(Fix deprecation of GP function)
(Changed - after slayer area to : and added text-negative class)
Line 367: Line 367:
local areaDescrip = Areas._getAreaStat(area, 'areaEffectDesc')
local areaDescrip = Areas._getAreaStat(area, 'areaEffectDesc')
if areaDescrip ~= 'None' then
if areaDescrip ~= 'None' then
txt = txt.." - ''"..areaDescrip.."''"
txt = txt..": <span class=\"text-negative\"> ''"..areaDescrip.."''</span>"
end
end
end
end