From 2cc5419d50e177bd15999c9c0ac37a906bd4af86 Mon Sep 17 00:00:00 2001 From: Xepic90 Date: Wed, 22 Jul 2026 13:10:54 -0400 Subject: [PATCH] fix(DB/SpellArea): Dun Niffelem phase not retained after Battling the Elements (#25365) (#26174) --- .../2026_06_12_02_spell_area_dun_niffelem_phasing.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 data/sql/updates/pending_db_world/2026_06_12_02_spell_area_dun_niffelem_phasing.sql diff --git a/data/sql/updates/pending_db_world/2026_06_12_02_spell_area_dun_niffelem_phasing.sql b/data/sql/updates/pending_db_world/2026_06_12_02_spell_area_dun_niffelem_phasing.sql new file mode 100644 index 000000000..653de8778 --- /dev/null +++ b/data/sql/updates/pending_db_world/2026_06_12_02_spell_area_dun_niffelem_phasing.sql @@ -0,0 +1,11 @@ +-- Dun Niffelem (area 4495): add missing spell_area entry so spell 55858 continues +-- to apply after quest 12967 (Battling the Elements) is rewarded. +-- All surrounding areas (4437-4440, 4455) have two entries for spell 55858: +-- one for while quest 12924 is active, and one for after quest 12967 is rewarded. +-- Area 4495 only had the first entry (with quest_end=12967 removing it on completion), +-- causing players who finished Battling the Elements to lose the phase needed to +-- interact with NPCs and pick up follow-up quests in Dun Niffelem. +-- Fixes: https://github.com/azerothcore/azerothcore-wotlk/issues/25365 +DELETE FROM `spell_area` WHERE `spell` = 55858 AND `area` = 4495 AND `quest_start` = 12967 AND `aura_spell` = 0 AND `racemask` = 0 AND `gender` = 2; +INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) +VALUES (55858, 4495, 12967, 0, 0, 0, 2, 1, 64, 11);