16,985
edits
(Update for v1.3) |
(getOtherMonsterBoxText: Fix handling of abyss depths) |
||
Line 924: | Line 924: | ||
local areaList = Areas._getMonsterAreas(monster) | local areaList = Areas._getMonsterAreas(monster) | ||
local counts = {combatArea = 0, slayerArea = 0, dungeon = 0} | local counts = {combatArea = 0, slayerArea = 0, dungeon = 0, abyssDepth = 0} | ||
for i, area in ipairs(areaList) do | for i, area in ipairs(areaList) do | ||
counts[area.type] = counts[area.type] + 1 | counts[area.type] = counts[area.type] + 1 |