Adding more spell scripts.

This commit is contained in:
ratkosrb
2025-04-08 16:07:03 +03:00
parent f356ad522e
commit e893ab8e58
7 changed files with 223 additions and 82 deletions
+25
View File
@@ -0,0 +1,25 @@
DROP PROCEDURE IF EXISTS add_migration;
DELIMITER ??
CREATE PROCEDURE `add_migration`()
BEGIN
DECLARE v INT DEFAULT 1;
SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20250408123201');
IF v = 0 THEN
INSERT INTO `migrations` VALUES ('20250408123201');
-- Add your query below.
UPDATE `spell_template` SET `script_name`='spell_warlock_inferno' WHERE `entry` IN (1122, 24670);
UPDATE `spell_template` SET `script_name`='spell_thaddius_magnetic_pull' WHERE `entry`=28337;
UPDATE `spell_template` SET `script_name`='spell_maexxna_spider_web' WHERE `entry`=28434;
UPDATE `spell_template` SET `script_name`='spell_paladin_reckoning' WHERE `entry`=20178;
UPDATE `spell_template` SET `script_name`='spell_goblin_jumper_cables' WHERE `entry`=8342;
UPDATE `spell_template` SET `script_name`='spell_goblin_jumper_cables_xl' WHERE `entry`=22999;
-- End of migration.
END IF;
END??
DELIMITER ;
CALL add_migration();
DROP PROCEDURE IF EXISTS add_migration;