17,101
edits
(getMonsterAreas: Add handling for Lair of the Spider Queen random monster pool) |
(_getAreaRequirements: Avoid repeating the same requirement twice) |
||
Line 96: | Line 96: | ||
if area.unlockRequirement ~= nil then | if area.unlockRequirement ~= nil then | ||
-- Avoid repeating the same requirements twice, can happen for some dungeons e.g. Impending Darkness | |||
if area.entryRequirements == nil or mw.dumpObject(area.unlockRequirement) ~= mw.dumpObject(area.entryRequirements) then | |||
addReqsToArray(resultArray, area.unlockRequirement) | |||
end | |||
end | end | ||