Module:CombatAreas: Difference between revisions

Added special handling to prevent Hill Giants claiming to be from Into the Mist
(Accounted for Infernal Stronghold needing multiple clears)
(Added special handling to prevent Hill Giants claiming to be from Into the Mist)
Line 121: Line 121:
   end
   end


   for i, area in pairs(AreaData.dungeons) do
   --Hill Giants specifically ignore dungeons to prevent the issue with Into the Mist incorrectly being listed.
    if Shared.contains(area.monsters, monsterID) then
  if monsterID ~= 1 then
      table.insert(areaArray, processArea(area, i, 'dungeon'))
    for i, area in pairs(AreaData.dungeons) do
      if Shared.contains(area.monsters, monsterID) then
        table.insert(areaArray, processArea(area, i, 'dungeon'))
      end
     end
     end
   end
   end