mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 03:12:09 +01:00
Core/Spells: Convert some spells from spell_scripts in the db to a generic spellscript.
This commit is contained in:
12
sql/updates/world/2012_04_25_02_world_spell_script_names.sql
Normal file
12
sql/updates/world/2012_04_25_02_world_spell_script_names.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
select id from spell_scripts where command = 18 order by id asc;
|
||||
DELETE FROM `spell_scripts` WHERE `id` IN (15998,25952,29435,45980,51592,51910,52267,54420);
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` IN (15998,25952,29435,45980,51592,51910,52267,54420);
|
||||
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
|
||||
(15998, 'spell_gen_despawn_self'),
|
||||
(25952, 'spell_gen_despawn_self'),
|
||||
(29435, 'spell_gen_despawn_self'),
|
||||
(45980, 'spell_gen_despawn_self'),
|
||||
(51592, 'spell_gen_despawn_self'),
|
||||
(51910, 'spell_gen_despawn_self'),
|
||||
(52267, 'spell_gen_despawn_self'),
|
||||
(54420, 'spell_gen_despawn_self');
|
||||
Reference in New Issue
Block a user