From 046412690dcc852836d33ad27f3b7f188ae21eb3 Mon Sep 17 00:00:00 2001 From: cyriun Date: Sun, 6 Aug 2023 17:17:38 +1000 Subject: [PATCH 1/2] DB: Added Everlasting Horn of Lavaswimming (toy) --- DB/Toys/Dragonflight.lua | 11 +++++++++++ Locales.lua | 2 ++ 2 files changed, 13 insertions(+) diff --git a/DB/Toys/Dragonflight.lua b/DB/Toys/Dragonflight.lua index 4b99b100..b9ada287 100644 --- a/DB/Toys/Dragonflight.lua +++ b/DB/Toys/Dragonflight.lua @@ -380,6 +380,17 @@ local dragonflightToys = { { m = CONSTANTS.UIMAPIDS.THE_PRIMALIST_FUTURE }, }, }, + ["Everlasting Horn of Lavaswimming"] = { + cat = CONSTANTS.ITEM_CATEGORIES.DRAGONFLIGHT, + type = CONSTANTS.ITEM_TYPES.ITEM, + isToy = true, + method = CONSTANTS.DETECTION_METHODS.SPECIAL, + name = L["Everlasting Horn of Lavaswimming"], + itemId = 200116, + chance = 40, --guess + sourceText = L["This toy is obtained at the end of the Siege on Dragonbane Keep event."], + coords = { { m = CONSTANTS.UIMAPIDS.THE_WAKING_SHORES, x = 24.2, y = 70.1 } }, + }, } Rarity.ItemDB.MergeItems(Rarity.ItemDB.toys, dragonflightToys) diff --git a/Locales.lua b/Locales.lua index b9b920f9..13099d6e 100644 --- a/Locales.lua +++ b/Locales.lua @@ -1988,6 +1988,8 @@ L["Gooey Snailemental"] = true L["Dropped from the final bosses of Froststone Vault Primal Storm."] = true L["Combine 50 Leftover Elemental Slime to create the Gooey Snailemental."] = true L["Froststone Vault Primal Storm"] = true +L["Everlasting Horn of Lavaswimming"] = true +L["This toy is obtained at the end of the Siege on Dragonbane Keep event."] = true --[[ The rest of this file is auto-generated using the WoWAce localization application. From e5923fffcfe16bee2be64ca3b2a052ec1f508c51 Mon Sep 17 00:00:00 2001 From: cyriun Date: Wed, 9 Aug 2023 19:54:01 +1000 Subject: [PATCH 2/2] Core: Added tracking for Scalebane Keep event completion --- Core/EventHandlers.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/EventHandlers.lua b/Core/EventHandlers.lua index 1f726e1e..89fedbc6 100644 --- a/Core/EventHandlers.lua +++ b/Core/EventHandlers.lua @@ -428,9 +428,9 @@ function R:OnCombat() end end --- Handle quest turnins: Only used to detect world quests used for outdoor world bosses. It's not ideal, but probably more reliable than the loot lockout quest (which may or may not already be completed when the UNIT_DIED event is fired) -local worldBossQuests = { +local worldEventQuests = { [52196] = "Slightly Damp Pile of Fur", -- Dunegorger Kraulok + [70867] = "Everlasting Horn of Lavaswimming", -- Scalebane Keep (scenario completion) } function R:OnQuestTurnedIn(event, questID, experience, money) @@ -438,7 +438,7 @@ function R:OnQuestTurnedIn(event, questID, experience, money) "OnQuestTurnedIn triggered with ID = " .. questID .. ", experience = " .. experience .. ", money = " .. money ) - local relevantItem = worldBossQuests[questID] + local relevantItem = worldEventQuests[questID] if not relevantItem then return end