Scripts/Spells: Migrate Some Scripted Spells to Scripts (#23185)

* Migrate spells to scripts

* Simplify code

* I need to sleep

* Update chapter1.cpp

* Use actual damage

* No need in null check here
This commit is contained in:
Sorikoff
2019-04-16 07:49:39 +00:00
committed by Giacomo Pozzoni
parent 50d32fe493
commit 2cfaeb1400
8 changed files with 283 additions and 168 deletions

View File

@@ -0,0 +1,20 @@
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_death_knight_initiate_visual', 'spell_dk_glyph_of_scourge_strike_script', 'spell_item_mirrens_drinking_hat', 'spell_item_goblin_weather_machine', 'spell_gen_5000_gold', 'spell_sha_stoneclaw_totem', 'spell_gen_remove_impairing_auras', 'spell_q1846_bending_shinbone');
INSERT INTO `spell_script_names` VALUES
(51519, 'spell_death_knight_initiate_visual'),
(69961, 'spell_dk_glyph_of_scourge_strike_script'),
(29830, 'spell_item_mirrens_drinking_hat'),
(46203, 'spell_item_goblin_weather_machine'),
(46642, 'spell_gen_5000_gold'),
(55328, 'spell_sha_stoneclaw_totem'),
(55329, 'spell_sha_stoneclaw_totem'),
(55330, 'spell_sha_stoneclaw_totem'),
(55332, 'spell_sha_stoneclaw_totem'),
(55333, 'spell_sha_stoneclaw_totem'),
(55335, 'spell_sha_stoneclaw_totem'),
(55278, 'spell_sha_stoneclaw_totem'),
(58589, 'spell_sha_stoneclaw_totem'),
(58590, 'spell_sha_stoneclaw_totem'),
(58591, 'spell_sha_stoneclaw_totem'),
(20589, 'spell_gen_remove_impairing_auras'),
(30918, 'spell_gen_remove_impairing_auras'),
(8856, 'spell_q1846_bending_shinbone');