Files
moonwell-core-vanilla/sql/migrations/20250530185459_world.sql

30 lines
1.0 KiB
SQL

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`='20250530185459');
IF v = 0 THEN
INSERT INTO `migrations` VALUES ('20250530185459');
-- Add your query below.
-- Fix being able to train later ranks of Mortal Strike without having the talent.
UPDATE `skill_line_ability` SET `superseded_by_spell`=21551 WHERE `spell_id`=12294;
UPDATE `skill_line_ability` SET `superseded_by_spell`=21552 WHERE `spell_id`=21551;
UPDATE `skill_line_ability` SET `superseded_by_spell`=21553 WHERE `spell_id`=21552;
-- Fix being able to train later ranks of Bloodthirst without having the talent.
UPDATE `skill_line_ability` SET `superseded_by_spell`=23892 WHERE `spell_id`=23881;
-- Fix being able to train later ranks of Shield Slam without having the talent.
UPDATE `skill_line_ability` SET `superseded_by_spell`=23923 WHERE `spell_id`=23922;
-- End of migration.
END IF;
END??
DELIMITER ;
CALL add_migration();
DROP PROCEDURE IF EXISTS add_migration;