From 2d70ae159f0cfbd466c3dd26552f436d7e28a80a Mon Sep 17 00:00:00 2001 From: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com> Date: Fri, 4 Oct 2024 08:56:34 -0400 Subject: [PATCH] fix(DB/Spell): Link triggered Shattrath flask effects to flask aura and proper area. (#20122) * Init. * Add Bloodberry Elixir link. * Update `spell_area` entries. * Add root spell, toggle autocast for area effects. --- .../pending_db_world/shattrath-flasks.sql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 data/sql/updates/pending_db_world/shattrath-flasks.sql diff --git a/data/sql/updates/pending_db_world/shattrath-flasks.sql b/data/sql/updates/pending_db_world/shattrath-flasks.sql new file mode 100644 index 000000000..0b8720a4e --- /dev/null +++ b/data/sql/updates/pending_db_world/shattrath-flasks.sql @@ -0,0 +1,17 @@ +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (-41608, -41609, -41610, -41611, -46837, -46839, -45373); +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES +(-41609, -41607, 0, 'Shattrath Flask of Fortification'), +(-41610, -41605, 0, 'Shattrath Flask of Mighty Restoration'), +(-41611, -41604, 0, 'Shattrath Flask of Supreme Power'), +(-41608, -41606, 0, 'Shattrath Flask of Relentless Assault'), +(-46837, -46838, 0, 'Shattrath Flask of Pure Death'), +(-46839, -46840, 0, 'Shattrath Flask of Blinding Light'), +(-45373, -45374, 0, 'Bloodberry Elixir'); + +UPDATE `spell_area` SET `spell` = 41607, `aura_spell` = 41609, `autocast` = 1 WHERE `spell` = 41609; +UPDATE `spell_area` SET `spell` = 41605, `aura_spell` = 41610, `autocast` = 1 WHERE `spell` = 41610; +UPDATE `spell_area` SET `spell` = 41604, `aura_spell` = 41611, `autocast` = 1 WHERE `spell` = 41611; +UPDATE `spell_area` SET `spell` = 41606, `aura_spell` = 41608, `autocast` = 1 WHERE `spell` = 41608; +UPDATE `spell_area` SET `spell` = 46838, `aura_spell` = 46837, `autocast` = 1 WHERE `spell` = 46837; +UPDATE `spell_area` SET `spell` = 46840, `aura_spell` = 46839, `autocast` = 1 WHERE `spell` = 46839; +UPDATE `spell_area` SET `spell` = 45374, `aura_spell` = 45373, `autocast` = 1 WHERE `spell` = 45373;