fix(DB/Creature): Lord Xiz (#7620)

This commit is contained in:
Asthalor
2021-09-01 15:43:18 +02:00
committed by GitHub
parent 262d001409
commit a0d9cd7ffe

View File

@@ -0,0 +1,24 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1630228897555898489');
-- Set the Creature Lord Xiz a patrol route movement
UPDATE `creature` SET `MovementType` = 2 WHERE (`id` = 17701) AND (`guid` = 63448);
UPDATE `creature_template` SET `MovementType` = 2 WHERE (`entry` = 17701);
-- Delete previous routes
DELETE FROM `creature_addon` WHERE (`guid` = 63448);
-- Routes
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `isLarge`, `auras`) VALUES
(63448, 634480, 0, 0, 0, 0, 0, NULL);
-- Delete all waypoints routes
DELETE FROM `waypoint_data` WHERE `id` = 634480;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
-- Waypoint route 1 (GUID: 63448)
(634480,1,-2255.01,-12318.75,57.29,0,0,0,0,100,0),
(634480,2,-2205.076,-12318.180,54.73,0,0,0,0,100,0),
(634480,3,-2182.07,-12321.914,55.31,0,0,0,0,100,0),
(634480,4,-2205.076,-12318.180,54.73,0,0,0,0,100,0),
(634480,5,-2255.01,-12318.75,57.29,0,0,0,0,100,0);