fix(DB/Pathing): Add Missing Hakkari Oracle Pathing (#10857)

This commit is contained in:
ZhengPeiRu21
2022-03-06 10:41:15 -07:00
committed by GitHub
parent a216c4e7d0
commit 9ac35d300d

View File

@@ -0,0 +1,16 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1646088431493180100');
SET @NPC := 733;
SET @PATH := @NPC * 10;
UPDATE `creature_addon` SET `path_id` = @PATH WHERE `guid` = @NPC;
UPDATE `creature` SET `MovementType` = 2 WHERE `guid` = @NPC;
DELETE FROM `waypoint_data` WHERE `id` = @PATH;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`) VALUES
(@PATH, 1, -11916.5, -1089.93, 77.2794, 100, 0),
(@PATH, 2, -11916.5, -1072.16, 77.2796, 100, 0),
(@PATH, 3, -11916.5, -1084.36, 77.2798, 100, 0),
(@PATH, 4, -11916.1, -1116.62, 77.2792, 100, 0),
(@PATH, 5, -11916, -1142.12, 77.2789, 100, 0),
(@PATH, 6, -11916.1, -1121.86, 77.282, 100, 0);