From bfe2c174b454b930f50fb33d83b999c42145e284 Mon Sep 17 00:00:00 2001 From: rorshan <60732320+rorshan@users.noreply.github.com> Date: Thu, 22 Jan 2026 05:30:47 +0100 Subject: [PATCH] fix(DB/Quest): A Flawless Plan now has correct requirement and phasing (#24091) --- .../rev_1765217977536744600.sql | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1765217977536744600.sql diff --git a/data/sql/updates/pending_db_world/rev_1765217977536744600.sql b/data/sql/updates/pending_db_world/rev_1765217977536744600.sql new file mode 100644 index 000000000..ceac303e7 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1765217977536744600.sql @@ -0,0 +1,26 @@ +-- PrevQuestID from 12822 to 18221, A Flawless Plan requires Opening the Backdoor, not Know No Fear +UPDATE `quest_template_addon` SET `PrevQuestID` = 12821 WHERE `ID` = 12823; + +-- Remove phase shifts in Garm and Garm's Rise for Know No Fear +DELETE FROM `spell_area` +WHERE `Quest_start` = 12822 + AND `quest_start_status` = 74; + +-- Add phase shift in Garm and Garm's Rise after turning in Opening the Backdoor +DELETE FROM `spell_area` WHERE `Quest_start` = 12821 AND `Spell` = 54635; +INSERT INTO `spell_area` +( + `Spell`, + `Area`, + `Quest_start`, + `Quest_end`, + `Aura_spell`, + `Racemask`, + `Gender`, + `Autocast`, + `Quest_start_status`, + `Quest_end_status` +) +VALUES +(54635, 4421, 12821, 0, 0, 0, 2, 1, 64, 0), +(54635, 4461, 12821, 0, 0, 0, 2, 1, 64, 0);