Skip to content

Commit 7300c3b

Browse files
committed
Core: Enable tracking for 11.1.5 Horrific Vision pets
1 parent b0a672e commit 7300c3b

File tree

3 files changed

+62
-1
lines changed

3 files changed

+62
-1
lines changed

Core/EventHandlers.lua

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ end
301301
-- at this time I'm not sure if that wouldn't cause problems elsewhere... so I won't touch it
302302
-------------------------------------------------------------------------------------
303303
local encounterLUT = {
304+
-- See https://warcraft.wiki.gg/wiki/DungeonEncounterID
304305
[1140] = { "Stormforged Rune" }, -- The Assembly of Iron
305306
[1133] = { "Blessed Seed" }, -- Freya
306307
[1135] = { "Ominous Pile of Snow" }, -- Hodir
@@ -316,6 +317,16 @@ local encounterLUT = {
316317
[2377] = { "Void-Scarred Hare" }, -- Magister Umbric
317318
[2372] = { "Void-Touched Souvenir Totem", "Box With Faintly Glowing 'Air' Holes" }, -- Oblivion Elemental (Final objective for Zekhan's area)
318319
[2374] = { 'Box Labeled "Danger: Void Rat Inside"' }, -- Therum Deepforge (Final objective for Kelsey's area)
320+
-- 11.1.5 Horrific Visions (Revisited)
321+
[3081] = { "Swirling Black Bottle", "Voidwoven Cat Collar" }, -- Alleria Windrunner
322+
[3082] = { 'Box Labeled "Danger: Void Rat Inside"' }, -- Therum Deepforge (Final objective for Kelsey's area)
323+
[3084] = { "Eye of Chaos" }, -- Mathias Shaw (Old Town)
324+
[3085] = { "Void-Scarred Hare" }, -- Magister Umbric
325+
[3086] = { "Swirling Black Bottle", "Void-Link Frostwolf Collar" }, -- Thrall the Corrupted
326+
[3087] = { "Void Scarred Scorpid" }, -- Inquistor Gnshal
327+
[3088] = { "Void-Touched Souvenir Totem", "Box With Faintly Glowing 'Air' Holes" }, -- Oblivion Elemental (Final objective for Zekhan's area)
328+
[3089] = { "Void-Scarred Egg" }, -- Vezokk
329+
[3090] = { "C'Thuffer" }, -- Rexxar
319330
}
320331

321332
function R:OnEncounterEnd(event, encounterID, encounterName, difficultyID, raidSize, endStatus)
@@ -452,6 +463,8 @@ end
452463
local worldEventQuests = {
453464
[52196] = "Slightly Damp Pile of Fur", -- Dunegorger Kraulok
454465
[70867] = "Everlasting Horn of Lavaswimming", -- Scalebane Keep (scenario completion)
466+
-- Not actually from a world quest/event
467+
[85830] = "Parrot Cage (Void-Scarred Parrot)", -- More accurately detected via object GUID
455468
}
456469

457470
function R:OnQuestTurnedIn(event, questID, experience, money)

DB/Pets/TheWarWithin.lua

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,50 @@ local twwPets = {
8686
spellId = 471944,
8787
coords = { { m = CONSTANTS.UIMAPIDS.UNDERMINE, x = 25.6, y = 38.2, n = L["Angelo Rustbin"] } },
8888
},
89+
["Parrot Cage (Void-Scarred Parrot)"] = {
90+
cat = CONSTANTS.ITEM_CATEGORIES.TWW,
91+
type = CONSTANTS.ITEM_TYPES.PET,
92+
method = CONSTANTS.DETECTION_METHODS.SPECIAL,
93+
chance = 12,
94+
creatureId = 237852,
95+
name = L["Parrot Cage (Void-Scarred Parrot)"],
96+
itemId = 235793,
97+
spellId = 1218379,
98+
coords = { { m = CONSTANTS.UIMAPIDS.HORRIFIC_REVISION_OF_STORMWIND } },
99+
},
100+
["Eye of Chaos"] = {
101+
cat = CONSTANTS.ITEM_CATEGORIES.TWW,
102+
type = CONSTANTS.ITEM_TYPES.PET,
103+
method = CONSTANTS.DETECTION_METHODS.SPECIAL,
104+
chance = 12,
105+
creatureId = 237850,
106+
name = L["Eye of Chaos"],
107+
itemId = 235794,
108+
spellId = 1218378,
109+
coords = { { m = CONSTANTS.UIMAPIDS.HORRIFIC_REVISION_OF_STORMWIND } },
110+
},
111+
["Void Scarred Scorpid"] = {
112+
cat = CONSTANTS.ITEM_CATEGORIES.TWW,
113+
type = CONSTANTS.ITEM_TYPES.PET,
114+
method = CONSTANTS.DETECTION_METHODS.SPECIAL,
115+
chance = 12,
116+
creatureId = 237855,
117+
name = L["Void Scarred Scorpid"],
118+
itemId = 235795,
119+
spellId = 1218381,
120+
coords = { { m = CONSTANTS.UIMAPIDS.HORRIFIC_REVISION_OF_ORGRIMMAR } },
121+
},
122+
["Void-Scarred Egg"] = {
123+
cat = CONSTANTS.ITEM_CATEGORIES.TWW,
124+
type = CONSTANTS.ITEM_TYPES.PET,
125+
method = CONSTANTS.DETECTION_METHODS.SPECIAL,
126+
chance = 12,
127+
creatureId = 237856,
128+
name = L["Void-Scarred Egg"],
129+
itemId = 235797,
130+
spellId = 1218383,
131+
coords = { { m = CONSTANTS.UIMAPIDS.HORRIFIC_REVISION_OF_ORGRIMMAR } },
132+
},
89133
}
90134

91135
Rarity.ItemDB.MergeItems(Rarity.ItemDB.pets, twwPets)

Locales.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ local L
22
L = LibStub("AceLocale-3.0"):NewLocale("Rarity", "enUS", true)
33

44
-- L["AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"] = true
5-
L["Nesting Swarmite""] = true
5+
L["Void-Scarred Egg"] = true
6+
L["Void Scarred Scorpid"] = true
7+
L["Eye of Chaos"] = true
8+
L["Parrot Cage (Void-Scarred Parrot)"] = true
9+
L["Nesting Swarmite"] = true
610
L["Void-Scarred Lynx"] = true
711
L["Steamwheedle Supplier"] = true
812
L["Venture Co-ordinator"] = true

0 commit comments

Comments
 (0)