From a07467d65f8e6b3988ebad6c19ca35dea292fa38 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Sun, 30 Apr 2023 01:25:04 +0200 Subject: [PATCH] fix(DB/Spell): Essence of Wintergrasp (#16132) * fix(DB/Spell): Essence of Wintergrasp * cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/a78071f682c88d33f8cfaba0f9368ec3ce5713c5) * cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/bacb00117a304b281804698120e8c9b64b99144c) Co-Authored-By: Aokromes <539374+aokromes@users.noreply.github.com> * Update rev_1682810005438594300.sql --------- Co-authored-by: Aokromes <539374+aokromes@users.noreply.github.com> --- .../updates/pending_db_world/rev_1682810005438594300.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1682810005438594300.sql diff --git a/data/sql/updates/pending_db_world/rev_1682810005438594300.sql b/data/sql/updates/pending_db_world/rev_1682810005438594300.sql new file mode 100644 index 000000000..891561f33 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1682810005438594300.sql @@ -0,0 +1,9 @@ +-- +DELETE FROM `spell_area` WHERE `spell` = 57940 AND `area` IN (4723, 4809, 4813, 4820); +INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES +(57940, 4723, 0, 0, 0, 0, 2, 1, 0, 0), +(57940, 4809, 0, 0, 0, 0, 2, 1, 0, 0), +(57940, 4813, 0, 0, 0, 0, 2, 1, 0, 0), +(57940, 4820, 0, 0, 0, 0, 2, 1, 0, 0); + +UPDATE `spell_area` SET `quest_start_status` = 0, `quest_end_status` = 0 WHERE `spell` = 57940;