Skip to content

Commit

Permalink
Fix AV battle standards (#537)
Browse files Browse the repository at this point in the history
Frostwolf/Stormpike Battle Standards are no longer consumed on use
Stormpike Battle Standard and Alliance Battle Standard now share a cooldown
Fixes LightsHope/server#459
  • Loading branch information
StadenElysium authored Nov 8, 2017
1 parent bf06892 commit 2a5d38b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions sql/migrations/20171108160532_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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`='20171108160532');
IF v=0 THEN
INSERT INTO `migrations` VALUES ('20171108160532');
-- Add your query below.

UPDATE `item_template` SET `spellcharges_1`='0', `spellcategory_1`='1153', `spellcategorycooldown_1`='120000' WHERE `entry`='19045' and`patch`='3';
UPDATE `item_template` SET `spellcharges_1`='0' WHERE `entry`='19046' and`patch`='3';

-- End of migration.
END IF;
END??
delimiter ;
CALL add_migration();
DROP PROCEDURE IF EXISTS add_migration;

0 comments on commit 2a5d38b

Please sign in to comment.