From 965229ae01a2162380bcfe9691518d8cdc0d63ec Mon Sep 17 00:00:00 2001 From: Ryan Turner <16946913+TheSCREWEDSoftware@users.noreply.github.com> Date: Fri, 20 Mar 2026 00:04:31 +0000 Subject: [PATCH] fix(DB/Loot) - Correct who should or not drop Pattern: Robes of Arcana (#23916) Co-authored-by: FlyingArowana Co-authored-by: sudlud Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .../rev_1764194426963825600.sql | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1764194426963825600.sql diff --git a/data/sql/updates/pending_db_world/rev_1764194426963825600.sql b/data/sql/updates/pending_db_world/rev_1764194426963825600.sql new file mode 100644 index 000000000..e1d99e32a --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1764194426963825600.sql @@ -0,0 +1,20 @@ +SET @ITEM = 5773; +SET @ENTRY = 1054; + +-- Deletes "Pattern: Robes of Arcana" from Reference Loot #24704 +DELETE FROM `reference_loot_template` WHERE `Entry` = 24704 AND `Item` = @ITEM; + +-- Creates a reference loot for "Pattern: Robes of Arcana" +DELETE FROM `reference_loot_template` WHERE `Entry` = @ENTRY; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@ENTRY, @ITEM, 0, 100, 0, 1, 1, 1, 1, 'Pattern: Robes of Arcana'); + +-- Deletes "Pattern: Robes of Arcana" from Defias Enchnater, Dark Strand Voidcaller and Grimtotem Geomancer + DELETE FROM `creature_loot_template` WHERE `item` = @ITEM AND `Entry` IN (910, 2337, 10760); + +-- Adds reference loot for "Pattern: Robes of Arcana" for each creature below +DELETE FROM `creature_loot_template` WHERE `Reference` = @ENTRY AND `Entry` IN (910, 2337, 10760); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(910, @ITEM, @ENTRY, 2, 0, 1, 0, 1, 1, 'Defias Enchanter - Pattern: Robes of Arcana'), +(2337, @ITEM, @ENTRY, 2, 0, 1, 0, 1, 1, 'Dark Strand Voidcaller - Pattern: Robes of Arcana'), +(10760, @ITEM, @ENTRY, 2, 0, 1, 0, 1, 1, 'Grimtotem Geomancer - Pattern: Robes of Arcana');