aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorGildor <gildor55@gmail.com>2021-11-20 20:48:58 +0100
committerGitHub <noreply@github.com>2021-11-20 21:48:58 +0200
commit04d54a000fd2629155dfb43db79e5e2023bc84ac (patch)
tree7feb902d531d7450af5668656ec4503b686cd4c4 /sql
parente63838f624b28b4fc5fcba2b8c64fced8ef8e11c (diff)
Core/Auras: Convert most rules from Aura::CanBeSaved to a custom spell attribute (#27191)
(cherry picked from commit b4aa698acb88e1a74bc22d97279148a567b88cad) (cherry picked from commit 2bea816bbec6ba9d50f7bd6725806e81c6cafaae)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/3.3.5/2021_11_20_00_world.sql14
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2021_11_20_00_world.sql b/sql/updates/world/3.3.5/2021_11_20_00_world.sql
new file mode 100644
index 00000000000..05a90843b94
--- /dev/null
+++ b/sql/updates/world/3.3.5/2021_11_20_00_world.sql
@@ -0,0 +1,14 @@
+--
+ALTER TABLE `spell_custom_attr`
+ MODIFY `entry` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'spell id',
+ MODIFY `attributes` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'SpellCustomAttributes';
+
+SET @SPELL_ATTR0_CU_AURA_CANNOT_BE_SAVED := 16777216;
+
+DELETE FROM `spell_custom_attr` WHERE `entry` IN (44413,40075,55849,73822,73828);
+INSERT INTO `spell_custom_attr` (`entry`, `attributes`) VALUES
+(44413, @SPELL_ATTR0_CU_AURA_CANNOT_BE_SAVED), -- Incanter's Absorption
+(40075, @SPELL_ATTR0_CU_AURA_CANNOT_BE_SAVED), -- Fel Flak Fire
+(55849, @SPELL_ATTR0_CU_AURA_CANNOT_BE_SAVED), -- Power Spark
+(73822, @SPELL_ATTR0_CU_AURA_CANNOT_BE_SAVED), -- Hellscream's Warsong (ICC)
+(73828, @SPELL_ATTR0_CU_AURA_CANNOT_BE_SAVED); -- Strength of Wrynn (ICC)