Skip to content

Commit

Permalink
Merged pull request #478 from WowRarity/defeat-detection-legionraids
Browse files Browse the repository at this point in the history
Add defeat detection for Mythic-difficulty Legion raid mounts
  • Loading branch information
rdw-software authored May 1, 2022
2 parents 6671704 + 59b7c39 commit 5a89686
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 13 additions & 2 deletions DB/Mounts/Legion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,11 @@ local legionMounts = {
chance = 100,
wasGuaranteed = true,
statisticId = { 10980 },
coords = { { m = 772, i = true } },
coords = { { m = CONSTANTS.UIMAPIDS.THE_NIGHTHOLD, i = true } },
lockoutDetails = {
mode = CONSTANTS.DEFEAT_DETECTION.MODE_AND,
{ encounterName = "Gul'dan", instanceDifficulties = { [CONSTANTS.INSTANCE_DIFFICULTIES.MYTHIC_RAID] = true } },
},
},
["Antoran Charhound"] = {
cat = CONSTANTS.ITEM_CATEGORIES.LEGION,
Expand Down Expand Up @@ -385,7 +389,14 @@ local legionMounts = {
wasGuaranteed = true,
blackMarket = true,
statisticId = { 11986 },
coords = { { m = 910, i = true } },
coords = { { m = CONSTANTS.UIMAPIDS.ANTORUS, i = true } },
lockoutDetails = {
mode = CONSTANTS.DEFEAT_DETECTION.MODE_AND,
{
encounterName = "Argus the Unmaker",
instanceDifficulties = { [CONSTANTS.INSTANCE_DIFFICULTIES.MYTHIC_RAID] = true },
},
},
},
}

Expand Down
2 changes: 2 additions & 0 deletions DB/SharedConstants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,11 @@ C.UIMAPIDS = {
HIGHMOUNTAIN = 650,
SURAMAR = 680,
SKYHOLD = 695,
THE_NIGHTHOLD = 772,
KROKUUN = 830,
MACAREE = 882,
ANTORAN_WASTES = 885,
ANTORUS = 910,
-- Legion Instances
SEAT_OF_THE_TRIUMVIRATE = 903,
-- Battle for Azeroth Zones
Expand Down

0 comments on commit 5a89686

Please sign in to comment.