aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcrom <malcromdev@gmail.com>2022-10-30 20:35:58 +0100
committerKillyana <morphone1@gmail.com>2022-10-30 20:35:58 +0100
commit97fc66ef418b3ed796a6363296ad10bae5aee622 (patch)
treec2fa646ba3e4102fcf0169857f9d20982cd53718
parentfeaeb0d6380b2096eeb0802e91c14673331ddf4b (diff)
DB/Creature: Pathing for Razorspine
Closes #28316
-rw-r--r--sql/updates/world/3.3.5/2022_10_30_01_world.sql16
1 files changed, 16 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2022_10_30_01_world.sql b/sql/updates/world/3.3.5/2022_10_30_01_world.sql
new file mode 100644
index 00000000000..9e69a6d6011
--- /dev/null
+++ b/sql/updates/world/3.3.5/2022_10_30_01_world.sql
@@ -0,0 +1,16 @@
+-- Pathing for Razorspine Entry: 23841
+SET @NPC := 39309;
+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);