Skip to content

Commit

Permalink
Fix bypassing Rajaxx's captains.
Browse files Browse the repository at this point in the history
  • Loading branch information
ratkosrb committed Apr 7, 2024
1 parent 3011507 commit 8f06c04
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions sql/migrations/20240407052628_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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`='20240407052628');
IF v = 0 THEN
INSERT INTO `migrations` VALUES ('20240407052628');
-- Add your query below.


-- Fix bypassing Rajaxx's captains.
INSERT INTO `creature_linking_template` (`entry`, `map`, `master_entry`, `flag`, `search_range`) VALUES (15385, 509, 15341, 1, 150);
INSERT INTO `creature_linking_template` (`entry`, `map`, `master_entry`, `flag`, `search_range`) VALUES (15386, 509, 15341, 1, 150);
INSERT INTO `creature_linking_template` (`entry`, `map`, `master_entry`, `flag`, `search_range`) VALUES (15389, 509, 15341, 1, 150);
INSERT INTO `creature_linking_template` (`entry`, `map`, `master_entry`, `flag`, `search_range`) VALUES (15391, 509, 15341, 1, 150);
INSERT INTO `creature_linking_template` (`entry`, `map`, `master_entry`, `flag`, `search_range`) VALUES (15392, 509, 15341, 1, 150);
INSERT INTO `creature_linking_template` (`entry`, `map`, `master_entry`, `flag`, `search_range`) VALUES (15390, 509, 15341, 1, 150);
INSERT INTO `creature_linking_template` (`entry`, `map`, `master_entry`, `flag`, `search_range`) VALUES (15388, 509, 15341, 1, 150);


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

0 comments on commit 8f06c04

Please sign in to comment.