Change faction of Ritual Candle Aura trap.
Closes https://github.com/vmangos/core/pull/1773
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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`='20230123070823');
|
||||
IF v=0 THEN
|
||||
INSERT INTO `migrations` VALUES ('20230123070823');
|
||||
-- Add your query below.
|
||||
|
||||
|
||||
-- Change faction of Ritual Candle Aura to one that is hostile to mobs but friendly to players.
|
||||
-- This is a server side trap, so it's not sniffable, and true faction is unknown.
|
||||
UPDATE `gameobject_template` SET `faction`=250 WHERE `entry`=179688;
|
||||
|
||||
|
||||
-- End of migration.
|
||||
END IF;
|
||||
END??
|
||||
delimiter ;
|
||||
CALL add_migration();
|
||||
DROP PROCEDURE IF EXISTS add_migration;
|
||||
Reference in New Issue
Block a user