diff options
| author | Shauren <shauren.trinity@gmail.com> | 2021-03-06 23:47:30 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-03-06 23:47:30 +0100 |
| commit | b4aa698acb88e1a74bc22d97279148a567b88cad (patch) | |
| tree | 34f43ec39ff076c4b8cbc7a043f5d42e4770ba13 /sql | |
| parent | 16f95f9d32c4e4cc7b7eceaefc99ef5c4f854f53 (diff) | |
Core/Auras: Convert most rules from Aura::CanBeSaved to a custom spell attribute
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/world/master/2021_03_06_00_world_nonsavable_auras.sql | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_03_06_00_world_nonsavable_auras.sql b/sql/updates/world/master/2021_03_06_00_world_nonsavable_auras.sql new file mode 100644 index 00000000000..bce2f53a71a --- /dev/null +++ b/sql/updates/world/master/2021_03_06_00_world_nonsavable_auras.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'; + +DELETE FROM `spell_custom_attr` WHERE `entry` IN (40075,55849,48517,48518,40120,33943,1066,165961); +INSERT INTO `spell_custom_attr` (`entry`, `attributes`) VALUES +(40075, 0x01000000), -- Fel Flak Fire +(55849, 0x01000000), -- Power Spark +(48517, 0x01000000), -- Eclipse (Solar) +(48518, 0x01000000), -- Eclipse (Lunar) +(40120, 0x01000000), -- Travel Form (Swift Flight) +(33943, 0x01000000), -- Travel Form (Flight) +(1066, 0x01000000), -- Travel Form (Aquatic) +(165961, 0x01000000); -- Travel Form (Stag) |
