17,101
edits
(_getDungeonMonsterList: Add Bane for Impending Darkness) |
(Remove Impending Darkness special handling pending revised implementation) |
||
Line 933: | Line 933: | ||
table.insert(returnPart, '\r\n! Name !! Combat Level !! Hitpoints !! Max Hit !! [[Combat Triangle|Combat Style]] !! Count') | table.insert(returnPart, '\r\n! Name !! Combat Level !! Hitpoints !! Max Hit !! [[Combat Triangle|Combat Style]] !! Count') | ||
-- Special handing for Impending Darkness event | -- Special handing for Impending Darkness event | ||
if area.isEvent ~= nil and area.isEvent then | -- TODO needs to be revised once there is a better understanding of how the event works | ||
--if area.isEvent ~= nil and area.isEvent then | |||
-- for i, eventAreaID in ipairs(Areas.eventData.slayerAreas) do | |||
-- table.insert(returnPart, buildRow(eventAreaID, {5, 8}, 'SlayerArea')) | |||
-- end | |||
-- -- Add Bane * 4 | |||
end | -- table.insert(returnPart, buildRow(152, 4)) | ||
--end | |||
for i, monsterID in pairs(area.monsters) do | for i, monsterID in pairs(area.monsters) do | ||
if not Shared.contains(usedMonsters, monsterID) then | if not Shared.contains(usedMonsters, monsterID) then | ||
Line 970: | Line 971: | ||
local count = 0 | local count = 0 | ||
-- Special handing for Impending Darkness event | -- Special handing for Impending Darkness event | ||
if area.isEvent ~= nil and area.isEvent then | -- TODO needs to be revised once there is a better understanding of how the event works | ||
--if area.isEvent ~= nil and area.isEvent then | |||
-- for i, eventAreaID in ipairs(Areas.eventData.slayerAreas) do | |||
-- local eventArea = Areas.getAreaByID('slayer', eventAreaID) | |||
-- table.insert(monsterList, '5-8 ' .. Icons.Icon({eventArea.name, type='combatArea'}) .. ' Monsters') | |||
-- end | |||
end | -- table.insert(monsterList, '4 ' .. Icons.Icon({'Bane', type='monster'})) | ||
--end | |||
for i, monsterID in Shared.skpairs(area.monsters) do | for i, monsterID in Shared.skpairs(area.monsters) do | ||
if monsterID ~= lastID then | if monsterID ~= lastID then |