diff options
author | Malcrom <malcromdev@gmail.com> | 2022-10-30 20:35:58 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2023-01-11 20:01:33 +0100 |
commit | 839b4ad1c26bb3d337dc75f6614f597e1cc301b5 (patch) | |
tree | 130c6990aa6c805b19e0ef3f2732332ad46babbc | |
parent | 15a7b27a08ecd4d1bf1d067bc0d17a6ddcef5da0 (diff) |
DB/Creature: Pathing for Razorspine
Closes #28316
(cherry picked from commit 97fc66ef418b3ed796a6363296ad10bae5aee622)
-rw-r--r-- | sql/updates/world/master/2023_01_11_01_world_2022_10_30_01_world.sql | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sql/updates/world/master/2023_01_11_01_world_2022_10_30_01_world.sql b/sql/updates/world/master/2023_01_11_01_world_2022_10_30_01_world.sql new file mode 100644 index 00000000000..994e52d7145 --- /dev/null +++ b/sql/updates/world/master/2023_01_11_01_world_2022_10_30_01_world.sql @@ -0,0 +1,17 @@ +-- Pathing for Razorspine Entry: 23841 +SET @NPC := 39309; +UPDATE `creature` SET `guid`=@NPC WHERE `guid`=296848; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-2667.589,`position_y`=-4017.5479,`position_z`=1.7994823 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2667.589,-4017.5479,1.7994823,NULL,0,0,0,100,0), +(@PATH,2,-2682.1023,-4013.1038,7.623457,NULL,0,0,0,100,0), +(@PATH,3,-2701.14,-4009.6328,17.22806,NULL,0,0,0,100,0), +(@PATH,4,-2722.923,-4008.8137,29.876986,NULL,0,0,0,100,0), +(@PATH,5,-2737.096,-4004.9934,33.11826,NULL,0,0,0,100,0), +(@PATH,6,-2722.923,-4008.8137,29.876986,NULL,0,0,0,100,0), +(@PATH,7,-2701.14,-4009.6328,17.22806,NULL,0,0,0,100,0), +(@PATH,8,-2682.1023,-4013.1038,7.623457,NULL,0,0,0,100,0); |