Skip to content

Commit

Permalink
Fix Blackwing Technician loot exploit.
Browse files Browse the repository at this point in the history
  • Loading branch information
ratkosrb committed May 12, 2024
1 parent 2c84b4d commit 578ac1c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions sql/migrations/20240512091319_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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`='20240512091319');
IF v = 0 THEN
INSERT INTO `migrations` VALUES ('20240512091319');
-- Add your query below.


-- Fix Blackwing Technician loot exploit.
UPDATE `creature_groups` SET `flags`=6 WHERE `leader_guid` IN (59768, 59771, 84542, 84557, 84558, 84625, 84840, 300979, 300980);


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

0 comments on commit 578ac1c

Please sign in to comment.