Skip to content

Commit

Permalink
fix(DB/Pathing): Add Missing Hakkari Oracle Pathing (#10857)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhengPeiRu21 committed Mar 6, 2022
1 parent a216c4e commit 9ac35d3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions data/sql/updates/pending_db_world/rev_1646088431493180100.sql
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 9ac35d3

Please sign in to comment.