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

24 lines
909 B
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`='20251227015702');
IF v = 0 THEN
INSERT INTO `migrations` VALUES ('20251227015702');
-- Add your query below.
-- Fix Guard Slip'kik not buffing players when frozen.
DELETE FROM `gossip_scripts` WHERE `id`=573300;
INSERT INTO `gossip_scripts` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES
(573300, 0, 0, 15, 22820, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Guard Slip\'kik - Cast Spell Slip\'kik\'s Savvy');
-- End of migration.
END IF;
END??
DELIMITER ;
CALL add_migration();
DROP PROCEDURE IF EXISTS add_migration;