From 53968d31aa64d170cdf3bdfd61266def906a91a2 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Tue, 14 May 2019 22:03:36 +0200 Subject: [PATCH] DB/Creature: Pathing for Garginox By Malcrom --- .../world/4.3.4/2019_05_14_01_world.sql | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 sql/updates/world/4.3.4/2019_05_14_01_world.sql diff --git a/sql/updates/world/4.3.4/2019_05_14_01_world.sql b/sql/updates/world/4.3.4/2019_05_14_01_world.sql new file mode 100644 index 00000000000..a4bdfb61296 --- /dev/null +++ b/sql/updates/world/4.3.4/2019_05_14_01_world.sql @@ -0,0 +1,45 @@ +-- Pathing for Garginox Entry: 45681 'TDB FORMAT' +SET @NPC := 281738; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2818.83,`position_y`=-5412,`position_z`=161.7417 WHERE `guid`=@NPC; +DELETE FROM `creature` WHERE `guid` IN (301639,314522,317678,327845,335728,338603); +UPDATE `creature_template_addon` SET `path_id`=2817380 WHERE `entry` IN (45681); +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,2818.83,-5412,161.7417,0,0,0,0,100,0), +(@PATH,2,2818.13,-5431.61,158.8884,0,0,0,0,100,0), +(@PATH,3,2809.67,-5452.04,158.8789,0,0,0,0,100,0), +(@PATH,4,2809.67,-5452.04,158.8789,2.897247,28000,0,0,100,0), +(@PATH,5,2784.94,-5452.85,161.0361,0,0,0,0,100,0), +(@PATH,6,2770.97,-5452.95,159.1027,0,0,0,0,100,0), +(@PATH,7,2752.49,-5456,157.162,0,0,0,0,100,0), +(@PATH,8,2729.15,-5464.53,157.1233,0,0,0,0,100,0), +(@PATH,9,2714.68,-5475.37,157.6249,0,0,0,0,100,0), +(@PATH,10,2714.68,-5475.37,157.6249,2.617994,25000,0,0,100,0), +(@PATH,11,2695.833,-5487.5,159.3172,0,0,0,0,100,0), +(@PATH,12,2684.86,-5493.57,163.0648,0,0,0,0,100,0), +(@PATH,13,2682,-5506.11,160.6435,0,0,0,0,100,0), +(@PATH,14,2682.12,-5527.07,159.9264,0,0,0,0,100,0), +(@PATH,15,2679.94,-5542.57,161.1128,0,0,0,0,100,0), +(@PATH,16,2660.53,-5554.22,159.8379,0,0,0,0,100,0), +(@PATH,17,2660.53,-5554.22,159.8379,1.256637,30000,0,0,100,0), +(@PATH,18,2645.01,-5547.53,159.601,0,0,0,0,100,0), +(@PATH,19,2634.51,-5535.58,159.295,0,0,0,0,100,0), +(@PATH,20,2625.87,-5526.12,163.2588,0,0,0,0,100,0), +(@PATH,21,2623.51,-5502.22,157.8379,0,0,0,0,100,0), +(@PATH,22,2620.81,-5463.61,158.3879,0,0,0,0,100,0), +(@PATH,23,2620.81,-5463.61,158.3879,5.951573,23000,0,0,100,0), +(@PATH,24,2641.41,-5439.16,157.519,0,0,0,0,100,0), +(@PATH,25,2648.56,-5415.39,158.4262,0,0,0,0,100,0), +(@PATH,26,2672.82,-5396.1,157.0508,0,0,0,0,100,0), +(@PATH,27,2694.3,-5375.25,157.6758,0,0,0,0,100,0), +(@PATH,28,2710.91,-5363.97,159.1863,0,0,0,0,100,0), +(@PATH,29,2725.73,-5355.43,159.5643,0,0,0,0,100,0), +(@PATH,30,2747.53,-5370.45,157.0695,0,0,0,0,100,0), +(@PATH,31,2764.9,-5373.41,157.1945,0,0,0,0,100,0), +(@PATH,32,2764.9,-5373.41,157.1945,4.39823,28000,0,0,100,0), +(@PATH,33,2788.99,-5375.05,159.4832,0,0,0,0,100,0), +(@PATH,34,2810.06,-5373.98,163.0045,0,0,0,0,100,0), +(@PATH,35,2822.28,-5385.53,164.3949,0,0,0,0,100,0), +(@PATH,36,2823.07,-5387.37,164.2688,0,0,0,0,100,0), +(@PATH,37,2823.07,-5387.37,164.2688,4.24115,22000,0,0,100,0);