Module:Monsters: Difference between revisions

m
getMonsterName: Fix special case
(getMonster: Amend for ambiguous monster name)
m (getMonsterName: Fix special case)
Line 23: Line 23:


function p.getMonsterName(monster)
function p.getMonsterName(monster)
if monster.id == 'melvorAoD:Earth Golem' then
if monster.id == 'melvorAoD:EarthGolem' then
-- Special case for ambiguous monster name
-- Special case for ambiguous monster name
return 'Earth Golem (AoD)'
return 'Earth Golem (AoD)'