diff --git a/Core/EventHandlers.lua b/Core/EventHandlers.lua index da195af0..6777d36f 100644 --- a/Core/EventHandlers.lua +++ b/Core/EventHandlers.lua @@ -1802,6 +1802,48 @@ function R:OnLootReady(event, ...) end end + -- Handle opening various chests in Zskera Vaults + local vaultPets = { + "Bunbo", + "Berylmane", + "Brightfeather", + } + local vaultToys = { + "Obsidian Battle Horn", + } + local vaultChests = { + [L["Chain-Bound Strongbox"]] = true, + [L["Crystal Basket"]] = true, + [L["Hardened Chest"]] = true, + [L["Mindless Slime"]] = true, + [L["Searing Chest"]] = true, + [L["Hardened Strongbox"]] = true, + [L["Cart of Crushed Stone"]] = true, + [L["Hardshell Chest"]] = true, + [L["Titan Coffer"]] = true, + [L["Void-Bound Strongbox"]] = true, + [L["Inert Goo"]] = true, + [L["Mysterious Chest"]] = true, + [L["Supply Trunk"]] = true, + [L["Shattered Crystals"]] = true, + [L["Chest of Ice"]] = true, + [L["Forgotten Lockbox"]] = true, + [L["Slimy Goo"]] = true, + [L["Wind-Bound Strongbox"]] = true, + [L["Spun Webs"]] = true, + [L["Obsidian Grand Cache"]] = true, + [L["Frozen Coffer"]] = true, + } + if Rarity.isFishing and Rarity.isOpening and Rarity.lastNode and vaultChests[Rarity.lastNode] then + Rarity:Debug("Detected Opening on " .. Rarity.lastNode .. " (method = SPECIAL)") + for _, itemName in ipairs(vaultToys) do + addAttemptForItem(itemName, "items") + end + for _, itemName in ipairs(vaultPets) do + addAttemptForItem(itemName, "pets") + end + end + -- HANDLE FISHING if Rarity.isFishing and Rarity.isOpening == false then if Rarity.isPool then diff --git a/DB/Nodes.lua b/DB/Nodes.lua index 5b6688c2..1b879524 100644 --- a/DB/Nodes.lua +++ b/DB/Nodes.lua @@ -252,4 +252,26 @@ R.opennodes = { [L["Sandworn Chest"]] = true, [L["Expedition Scout's Pack"]] = true, [L["Opera Chest"]] = true, + [L["Chain-Bound Strongbox"]] = true, + [L["Crystal Basket"]] = true, + [L["Hardened Chest"]] = true, + [L["Mindless Slime"]] = true, + [L["Searing Chest"]] = true, + [L["Hardened Strongbox"]] = true, + [L["Cart of Crushed Stone"]] = true, + [L["Frozen Coffer"]] = true, + [L["Hardshell Chest"]] = true, + [L["Titan Coffer"]] = true, + [L["Void-Bound Strongbox"]] = true, + [L["Inert Goo"]] = true, + [L["Mysterious Chest"]] = true, + [L["Supply Trunk"]] = true, + [L["Shattered Crystals"]] = true, + [L["Chest of Ice"]] = true, + [L["Forgotten Lockbox"]] = true, + [L["Slimy Goo"]] = true, + [L["Wind-Bound Strongbox"]] = true, + [L["Spun Webs"]] = true, + [L["Obsidian Grand Cache"]] = true, + [L["Frozen Coffer"]] = true, } diff --git a/DB/Pets/Dragonflight.lua b/DB/Pets/Dragonflight.lua index 27b4a567..6aad11e8 100644 --- a/DB/Pets/Dragonflight.lua +++ b/DB/Pets/Dragonflight.lua @@ -1123,6 +1123,39 @@ local dragonflightPets = { chance = 7, -- Average over all the containers (not exactly accurate...) coords = { { m = CONSTANTS.UIMAPIDS.ZARALEK_CAVERN } }, }, + ["Bunbo"] = { + cat = CONSTANTS.ITEM_CATEGORIES.DRAGONFLIGHT, + type = CONSTANTS.ITEM_TYPES.PET, + method = CONSTANTS.DETECTION_METHODS.SPECIAL, + name = L["Bunbo"], + itemId = 193363, + spellId = 375045, + creatureId = 189113, + chance = 20, + coords = { { m = CONSTANTS.UIMAPIDS.THE_FORBIDDEN_REACH, x = 28.8, y = 52.6 } }, + }, + ["Berylmane"] = { + cat = CONSTANTS.ITEM_CATEGORIES.DRAGONFLIGHT, + type = CONSTANTS.ITEM_TYPES.PET, + method = CONSTANTS.DETECTION_METHODS.SPECIAL, + name = L["Berylmane"], + itemId = 193854, + spellId = 375553, + creatureId = 191287, + chance = 20, + coords = { { m = CONSTANTS.UIMAPIDS.THE_FORBIDDEN_REACH, x = 28.8, y = 52.6 } }, + }, + ["Brightfeather"] = { + cat = CONSTANTS.ITEM_CATEGORIES.DRAGONFLIGHT, + type = CONSTANTS.ITEM_TYPES.PET, + method = CONSTANTS.DETECTION_METHODS.SPECIAL, + name = L["Brightfeather"], + itemId = 193835, + spellId = 375448, + creatureId = 189158, + chance = 20, + coords = { { m = CONSTANTS.UIMAPIDS.THE_FORBIDDEN_REACH, x = 28.8, y = 52.6 } }, + }, } Rarity.ItemDB.MergeItems(Rarity.ItemDB.pets, dragonflightPets) diff --git a/DB/Toys/Dragonflight.lua b/DB/Toys/Dragonflight.lua index cfe0669f..df43572b 100644 --- a/DB/Toys/Dragonflight.lua +++ b/DB/Toys/Dragonflight.lua @@ -387,6 +387,16 @@ local dragonflightToys = { { m = CONSTANTS.UIMAPIDS.THE_PRIMALIST_FUTURE }, }, }, + ["Obsidian Battle Horn"] = { + cat = CONSTANTS.ITEM_CATEGORIES.DRAGONFLIGHT, + type = CONSTANTS.ITEM_TYPES.ITEM, + isToy = true, + method = CONSTANTS.DETECTION_METHODS.SPECIAL, + name = L["Obsidian Battle Horn"], + itemId = 204687, + chance = 50, + coords = { { m = CONSTANTS.UIMAPIDS.THE_FORBIDDEN_REACH, x = 28.8, y = 52.6 } }, + }, ["Everlasting Horn of Lavaswimming"] = { cat = CONSTANTS.ITEM_CATEGORIES.DRAGONFLIGHT, type = CONSTANTS.ITEM_TYPES.ITEM, diff --git a/Locales.lua b/Locales.lua index ef1ee263..2a361410 100644 --- a/Locales.lua +++ b/Locales.lua @@ -2002,6 +2002,32 @@ L["This toy is obtained at the end of the Siege on Dragonbane Keep event. The dr L["Opera Chest"] = true L["Holoviewer: The Lady of Dreams"] = true L["Holoviewer: The Timeless One"] = true +L["Brightfeather"] = true +L["Berylmane"] = true +L["Bunbo"] = true +L["Chain-Bound Strongbox"] = true +L["Crystal Basket"] = true +L["Hardened Chest"] = true +L["Mindless Slime"] = true +L["Searing Chest"] = true +L["Hardened Strongbox"] = true +L["Cart of Crushed Stone"] = true +L["Frozen Coffer"] = true +L["Hardshell Chest"] = true +L["Titan Coffer"] = true +L["Void-Bound Strongbox"] = true +L["Inert Goo"] = true +L["Mysterious Chest"] = true +L["Supply Trunk"] = true +L["Shattered Crystals"] = true +L["Chest of Ice"] = true +L["Forgotten Lockbox"] = true +L["Slimy Goo"] = true +L["Wind-Bound Strongbox"] = true +L["Spun Webs"] = true +L["Obsidian Grand Cache"] = true +L["Frozen Coffer"] = true +L["Obsidian Battle Horn"] = true --[[ The rest of this file is auto-generated using the WoWAce localization application. Please go to http://www.wowace.com/projects/rarity/localization/ to update translations.