Files
moonwell-core-vanilla/sql/migrations/20181017160614_world.sql
T
ratkosrb bfff076b91 Fix engineering pets exploit.
You were able to summon them as soon as you learned the Engineering skill by using Cheat Engine to replace one of your abilities with those spell Ids.
2018-10-17 19:08:47 +03:00

22 lines
528 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`='20181017160614');
IF v=0 THEN
INSERT INTO `migrations` VALUES ('20181017160614');
-- Add your query below.
-- Fix wrong client data.
UPDATE `skill_line_ability` SET `learnOnGetSkill`=0 WHERE `spellId` IN (4073, 12749, 19804, 13258, 13166);
-- End of migration.
END IF;
END??
delimiter ;
CALL add_migration();
DROP PROCEDURE IF EXISTS add_migration;