Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(DB/Spell): Link triggered Shattrath flask effects to flask aura and proper area. #20122

Merged
merged 4 commits into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions data/sql/updates/pending_db_world/shattrath-flasks.sql
Original file line number Diff line number Diff line change
@@ -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;
Loading