fix(Spawning/Waypoints): Arcane Reavers at Dawnstar Spire (#9677)

This commit is contained in:
Malcrom
2021-12-17 13:16:37 -04:00
committed by GitHub
parent f8b48d0fd2
commit 4a2b5f32a7

View File

@@ -0,0 +1,115 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1639344956834239837');
-- Respawn Arcane Reavers at Dawnstar Spire
DELETE FROM `creature` WHERE `id`=16339;
INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`,`ScriptName`,`VerifiedBuild`) VALUES
(81857, 16339, 530, 0, 0, 1, 1, 0, 0, 7829.5845, -7911.2017, 169.3264, 2.792526721954345703, 300, 5, 0, 1, 0, 1, 0, 0, 0, '', 0),
(81858, 16339, 530, 0, 0, 1, 1, 0, 0, 7793.8525, -7904.7544, 166.86871, 3.333578824996948242, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0),
(81859, 16339, 530, 0, 0, 1, 1, 0, 0, 7830.1475, -7888.4844, 169.32259, 0.51941615343093872, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0),
(81860, 16339, 530, 0, 0, 1, 1, 0, 0, 7807.1016, -7828.088, 170.31082, 2.015940666198730468, 300, 5, 0, 1, 0, 1, 0, 0, 0, '', 0),
(81861, 16339, 530, 0, 0, 1, 1, 0, 0, 7842.2188, -7876.0615, 167.13791, 1.466076612472534179, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', 0),
(81862, 16339, 530, 0, 0, 1, 1, 0, 0, 7837.8115, -7831.0044, 170.4031, 4.597919464111328125, 300, 5, 0, 1, 0, 1, 0, 0, 0, '', 0),
(81863, 16339, 530, 0, 0, 1, 1, 0, 0, 7817.933, -7875.994, 167.24031, 1.919862151145935058, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', 0),
(81864, 16339, 530, 0, 0, 1, 1, 0, 0, 7866.79, -7903.742, 167.29266, 6.096136093139648437, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0),
(81865, 16339, 530, 0, 0, 1, 1, 0, 0, 7830.759, -7930.8506, 169.3264, 1.570796370506286621, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', 0),
(81867, 16339, 530, 0, 0, 1, 1, 0, 0, 7866.2603, -7911.634, 180.51527, 0.017314286902546882, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0),
(81868, 16339, 530, 0, 0, 1, 1, 0, 0, 7851.48, -7902.987, 169.32646, 3.717551231384277343, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', 0),
(81869, 16339, 530, 0, 0, 1, 1, 0, 0, 7806.522, -7911.297, 169.32648, 6.2657318115234375, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', 0);
-- Pathing for Arcane Reaver Entry: 16339
SET @NPC := 81867;
SET @PATH := @NPC * 10;
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,7856.952,-7911.4897,180.4334,0,0,0,0,100,0),
(@PATH,2,7850.6606,-7911.3657,180.42761,0,0,0,0,100,0),
(@PATH,3,7851.6562,-7919.838,180.42911,0,0,0,0,100,0),
(@PATH,4,7845.596,-7928.678,178.5342,0,0,0,0,100,0),
(@PATH,5,7839.4844,-7933.097,177.14703,0,0,0,0,100,0),
(@PATH,6,7829.6606,-7934.384,175.15036,0,0,0,0,100,0),
(@PATH,7,7821.3896,-7932.7954,173.11923,0,0,0,0,100,0),
(@PATH,8,7812.9688,-7927.4976,170.92276,0,0,0,0,100,0),
(@PATH,9,7808.9365,-7920.1206,169.29443,0,0,0,0,100,0),
(@PATH,10,7817.604,-7910.8906,169.24306,0,0,0,0,100,0),
(@PATH,11,7829.8975,-7910.9272,169.24309,0,0,0,0,100,0),
(@PATH,12,7829.151,-7878.259,169.21193,0,0,0,0,100,0),
(@PATH,13,7829.8975,-7910.9272,169.24309,0,0,0,0,100,0),
(@PATH,14,7817.604,-7910.8906,169.24306,0,0,0,0,100,0),
(@PATH,15,7808.9365,-7920.1206,169.29443,0,0,0,0,100,0),
(@PATH,16,7812.9688,-7927.4976,170.92276,0,0,0,0,100,0),
(@PATH,17,7821.3896,-7932.7954,173.11923,0,0,0,0,100,0),
(@PATH,18,7829.6606,-7934.384,175.15036,0,0,0,0,100,0),
(@PATH,19,7839.4844,-7933.097,177.14703,0,0,0,0,100,0),
(@PATH,20,7845.596,-7928.678,178.5342,0,0,0,0,100,0),
(@PATH,21,7851.6562,-7919.838,180.42911,0,0,0,0,100,0),
(@PATH,22,7850.6606,-7911.3657,180.42761,0,0,0,0,100,0),
(@PATH,23,7856.952,-7911.4897,180.4334,0,0,0,0,100,0),
(@PATH,24,7880.6353,-7911.383,182.8032,0,0,0,0,100,0);
-- Pathing for Arcane Reaver Entry: 16339
SET @NPC := 81858;
SET @PATH := @NPC * 10;
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,7793.723,-7904.971,166.84819,0,0,0,0,100,0),
(@PATH,2,7789.53,-7888.44,167.1335,0,0,0,0,100,0),
(@PATH,3,7785.9644,-7862.049,167.60872,0,0,0,0,100,0),
(@PATH,4,7783.237,-7843.7944,169.02388,0,0,0,0,100,0),
(@PATH,5,7789.2456,-7818.7837,171.01479,0,0,0,0,100,0),
(@PATH,6,7783.237,-7843.7944,169.02388,0,0,0,0,100,0),
(@PATH,7,7785.9644,-7862.049,167.60872,0,0,0,0,100,0),
(@PATH,8,7789.53,-7888.44,167.1335,0,0,0,0,100,0);
-- Pathing for Arcane Reaver Entry: 16339
SET @NPC := 81864;
SET @PATH := @NPC * 10;
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,7867.154,-7903.811,167.38306,0,0,0,0,100,0),
(@PATH,2,7867.242,-7878.6997,169.26465,0,0,0,0,100,0),
(@PATH,3,7865.5635,-7854.1787,170.34413,0,0,0,0,100,0),
(@PATH,4,7857.0254,-7825.577,170.94753,0,0,0,0,100,0),
(@PATH,5,7865.5635,-7854.1787,170.34413,0,0,0,0,100,0),
(@PATH,6,7867.242,-7878.6997,169.26465,0,0,0,0,100,0);
-- Pathing for Arcane Reaver Entry: 16339
SET @NPC := 81859;
SET @PATH := @NPC * 10;
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,7830.9263,-7888.039,169.23982,0,0,0,0,100,0),
(@PATH,2,7830.7334,-7866.5425,167.54604,0,0,0,0,100,0),
(@PATH,3,7830.3516,-7845.237,169.22816,0,0,0,0,100,0),
(@PATH,4,7835.3516,-7840.085,169.89882,0,0,0,0,100,0),
(@PATH,5,7846.876,-7838.4004,170.29848,0,0,0,0,100,0),
(@PATH,6,7846.483,-7823.547,170.61855,0,0,0,0,100,0),
(@PATH,7,7835.08,-7818.3213,170.47816,0,0,0,0,100,0),
(@PATH,8,7813.5645,-7818.354,170.83528,0,0,0,0,100,0),
(@PATH,9,7799.357,-7819.9844,170.66188,0,0,0,0,100,0),
(@PATH,10,7796.487,-7834.546,169.52571,0,0,0,0,100,0),
(@PATH,11,7808.6626,-7837.914,169.35683,0,0,0,0,100,0),
(@PATH,12,7822.2007,-7832.299,170.07686,0,0,0,0,100,0),
(@PATH,13,7829.9097,-7836.3013,170.05043,0,0,0,0,100,0),
(@PATH,14,7829.91,-7866.301,167.59413,0,0,0,0,100,0),
(@PATH,15,7829.955,-7887.5103,169.23949,0,0,0,0,100,0),
(@PATH,16,7829.923,-7866.3315,167.66835,0,0,0,0,100,0),
(@PATH,17,7829.923,-7836.332,170.09413,0,0,0,0,100,0),
(@PATH,18,7822.2007,-7832.299,170.07686,0,0,0,0,100,0),
(@PATH,19,7808.6626,-7837.914,169.35683,0,0,0,0,100,0),
(@PATH,20,7796.487,-7834.546,169.52571,0,0,0,0,100,0),
(@PATH,21,7799.357,-7819.9844,170.66188,0,0,0,0,100,0),
(@PATH,22,7813.5645,-7818.354,170.83528,0,0,0,0,100,0),
(@PATH,23,7835.08,-7818.3213,170.47816,0,0,0,0,100,0),
(@PATH,24,7846.483,-7823.547,170.61855,0,0,0,0,100,0),
(@PATH,25,7846.876,-7838.4004,170.29848,0,0,0,0,100,0),
(@PATH,26,7835.3516,-7840.085,169.89882,0,0,0,0,100,0),
(@PATH,27,7830.3516,-7845.237,169.22816,0,0,0,0,100,0),
(@PATH,28,7830.7334,-7866.5425,167.54604,0,0,0,0,100,0);