17,101
edits
(Fix description related issues & avoid issues with 'random' monsters) |
(_getMonsterAreas: Fix slayer area icon type) |
||
Line 313: | Line 313: | ||
for i, area in ipairs(areaList) do | for i, area in ipairs(areaList) do | ||
if area.type ~= 'dungeon' or not hideDungeons then | if area.type ~= 'dungeon' or not hideDungeons then | ||
table.insert(resultPart, Icons.Icon({area.name, type = | local imgType = (area.type == 'slayerArea' and 'combatArea') or area.type | ||
table.insert(resultPart, Icons.Icon({area.name, type = imgType})) | |||
end | end | ||
end | end |