Skip to content

Commit

Permalink
Instance type fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott18 committed May 18, 2021
1 parent b59be17 commit bee6e01
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Components/Core/Conditions/Categories/Location.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ ConditionCategory:RegisterCondition(1, "INSTANCE2", {
[03] = {order=03, text=ARENA, space=true, }, -- Arena

[04] = {order=10, text=DUNGEON_DIFFICULTY_5PLAYER, }, -- 5-player
[05] = {order=11, text=DUNGEON_DIFFICULTY_5PLAYER_HEROIC, }, -- 5-player Heroic
[05] = {order=11, text=DUNGEON_DIFFICULTY_5PLAYER_HEROIC, space=true, }, -- 5-player Heroic
[06] = {order=32, text=RAID_DIFFICULTY_10PLAYER, }, -- 10-player raid (legacy)
[07] = {order=33, text=RAID_DIFFICULTY_25PLAYER, }, -- 25-player raid (legacy)

[12] = {order=36, text=L["CONDITIONPANEL_INSTANCETYPE_LEGACY"]:format(RAID_DIFFICULTY_40PLAYER), }, -- 40-man raid (legacy)
[12] = {order=36, text=RAID_DIFFICULTY_40PLAYER, }, -- 40-man raid (legacy)

},

Expand All @@ -86,7 +88,9 @@ ConditionCategory:RegisterCondition(1, "INSTANCE2", {
instanceDifficulty = 0
end


-- https://wow.tools/dbc/?dbc=difficulty&build=2.5.1.38692#page=1
-- Note that 148 is "20 Player" but this might not actually be used by AQ20?

if z == "pvp" then
-- Battleground (__ -> 02)
return 2
Expand Down

0 comments on commit bee6e01

Please sign in to comment.