diff --git a/sql/migrations/20240322193855_world.sql b/sql/migrations/20240322193855_world.sql new file mode 100644 index 00000000000..16f4d681ac8 --- /dev/null +++ b/sql/migrations/20240322193855_world.sql @@ -0,0 +1,875 @@ +DROP PROCEDURE IF EXISTS add_migration; +DELIMITER ?? +CREATE PROCEDURE `add_migration`() +BEGIN +DECLARE v INT DEFAULT 1; +SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20240322193855'); +IF v = 0 THEN +INSERT INTO `migrations` VALUES ('20240322193855'); +-- Add your query below. + + +-- Pathing for Ironeye the Invincible Entry: 5935 +SET @NPC := 51824; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-6080.7417,`position_y`=-4229.7075,`position_z`=-58.75004 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-6080.7417,-4229.7075,-58.75004,100,0,0,0), +(@NPC,2,-6106.1978,-4241.2256,-58.750034,100,0,0,0), +(@NPC,3,-6122.3027,-4257.7954,-58.750015,100,0,0,0), +(@NPC,4,-6141.871,-4281.113,-58.749958,100,0,0,0), +(@NPC,5,-6157.237,-4289.18,-58.75,100,0,0,0), +(@NPC,6,-6175.913,-4298.796,-58.75,100,0,0,0), +(@NPC,7,-6192.434,-4294.0586,-58.75,100,0,0,0), +(@NPC,8,-6206.6953,-4275.653,-58.75,100,0,0,0), +(@NPC,9,-6221.1743,-4261.7773,-58.750027,100,0,0,0), +(@NPC,10,-6242.6035,-4251.8926,-58.750023,100,0,0,0), +(@NPC,11,-6261.549,-4257.6387,-58.750023,100,0,0,0), +(@NPC,12,-6282.8076,-4258.0664,-58.750027,100,0,0,0), +(@NPC,13,-6298.74,-4252.9907,-58.74999,100,0,0,0), +(@NPC,14,-6317.256,-4256.5317,-58.749985,100,0,0,0), +(@NPC,15,-6332.646,-4260.78,-58.749985,100,0,0,0), +(@NPC,16,-6344.4326,-4271.79,-58.74999,100,0,0,0), +(@NPC,17,-6336.267,-4290.6455,-58.74999,100,0,0,0), +(@NPC,18,-6325.882,-4304.9663,-58.749992,100,0,0,0), +(@NPC,19,-6318.2056,-4318.908,-58.749153,100,0,0,0), +(@NPC,20,-6309.1313,-4332.4785,-58.67491,100,0,0,0), +(@NPC,21,-6283.5093,-4345.7915,-58.74953,100,0,0,0), +(@NPC,22,-6261.3584,-4348.2812,-58.74668,100,0,0,0), +(@NPC,23,-6236.18,-4348.447,-58.74997,100,0,0,0), +(@NPC,24,-6218.4453,-4344.2607,-58.749954,100,0,0,0), +(@NPC,25,-6200.5327,-4335.262,-58.749954,100,0,0,0), +(@NPC,26,-6189.6113,-4321.157,-58.75,100,0,0,0), +(@NPC,27,-6175.346,-4306.061,-58.75,100,0,0,0), +(@NPC,28,-6153.527,-4300.671,-58.749958,100,0,0,0), +(@NPC,29,-6124.0845,-4305.4404,-58.749954,100,0,0,0), +(@NPC,30,-6100.4165,-4303.8423,-58.749958,100,0,0,0), +(@NPC,31,-6083.428,-4301.7056,-58.749992,100,0,0,0), +(@NPC,32,-6050.7993,-4296.8423,-58.750015,100,0,0,0), +(@NPC,33,-6031.896,-4285.7563,-58.750015,100,0,0,0), +(@NPC,34,-6042.1665,-4267.974,-58.750034,100,0,0,0), +(@NPC,35,-6060.898,-4248.3906,-58.75004,100,0,0,0); +-- 0x205660002005CBC00000B400005044B8 .go xyz -6080.7417 -4229.7075 -58.75004 + +-- Pathing for Salt Flats Vulture Entry: 4158 +SET @NPC := 45099; +-- Spawn new NPC +INSERT INTO `creature` VALUES (45099, 4158, 0, 0, 0, 0, 1, -6114.35, -4218.1772, -58.75004, 6.24209, 300, 300, 0, 100, 0, 2, 0, 0, 0, 10); +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-6114.35,`position_y`=-4218.1772,`position_z`=-58.75004 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-6114.35,-4218.1772,-58.75004,100,0,0,0), +(@NPC,2,-6142.1396,-4222.0923,-58.75003,100,0,0,0), +(@NPC,3,-6156.6904,-4265.2544,-58.750023,100,0,0,0), +(@NPC,4,-6174.191,-4264.1406,-58.750027,100,0,0,0), +(@NPC,5,-6195.2534,-4239.397,-58.750027,100,0,0,0), +(@NPC,6,-6217.428,-4247.6787,-58.750027,100,0,0,0), +(@NPC,7,-6227.8457,-4272.78,-58.75,100,0,0,0), +(@NPC,8,-6253.3013,-4289.8657,-58.749992,100,0,0,0), +(@NPC,9,-6269.0913,-4262.2246,-58.750027,100,0,0,0), +(@NPC,10,-6314.146,-4268.8765,-58.74999,100,0,0,0), +(@NPC,11,-6348.198,-4282.4653,-58.749985,100,0,0,0), +(@NPC,12,-6351.3203,-4300.557,-58.749992,100,0,0,0), +(@NPC,13,-6318.6626,-4314.7876,-58.749985,100,0,0,0), +(@NPC,14,-6305.5264,-4337.5044,-58.75,100,0,0,0), +(@NPC,15,-6261.8643,-4346.752,-58.74861,100,0,0,0), +(@NPC,16,-6232.451,-4335.691,-58.749954,100,0,0,0), +(@NPC,17,-6203.9185,-4339.6196,-58.74994,100,0,0,0), +(@NPC,18,-6190.59,-4323.354,-58.75,100,0,0,0), +(@NPC,19,-6155.926,-4328.1797,-58.74996,100,0,0,0), +(@NPC,20,-6129.8003,-4308.8687,-58.749958,100,0,0,0), +(@NPC,21,-6112.9336,-4295.7554,-58.749958,100,0,0,0), +(@NPC,22,-6100.0957,-4277.6733,-58.750008,100,0,0,0), +(@NPC,23,-6100.6074,-4246.09,-58.750034,100,0,0,0); +-- 0x2056600020040F800000B40000CECF85 .go xyz -6114.35 -4218.1772 -58.75004 + +-- Pathing for Dragonmaw Battlemaster Entry: 1037 +SET @NPC := 49203; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-3351.1099,`position_y`=-2167.3994,`position_z`=45.16283 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-3351.1099,-2167.3994,45.16283,100,0,0,0), +(@NPC,2,-3358.0503,-2200.3352,47.00765,100,0,0,0), +(@NPC,3,-3356.2737,-2233.3323,50.552464,100,0,0,0), +(@NPC,4,-3366.82,-2266.5537,53.633766,100,0,0,0), +(@NPC,5,-3374.3625,-2300.03,51.927055,100,0,0,0), +(@NPC,6,-3401.106,-2332.9788,52.93666,100,0,0,0), +(@NPC,7,-3422.8755,-2366.919,51.919437,100,0,0,0), +(@NPC,8,-3432.8145,-2381.444,51.898613,100,0,0,0), +(@NPC,9,-3439.6643,-2399.7122,51.900017,100,0,0,0), +(@NPC,10,-3467.0144,-2414.6218,52.552364,100,0,0,0), +(@NPC,11,-3477.7092,-2433.6294,49.604088,100,0,0,0), +(@NPC,12,-3500.055,-2452.8474,46.249107,100,0,0,0), +(@NPC,13,-3518.9417,-2467.0955,48.720005,100,0,0,0), +(@NPC,14,-3523.6025,-2500.4968,52.1359,100,0,0,0), +(@NPC,15,-3505.2476,-2533.533,52.188953,100,0,0,0), +(@NPC,16,-3479.704,-2551.5251,54.428276,100,0,0,0), +(@NPC,17,-3501.2612,-2533.691,51.940044,100,0,0,0), +(@NPC,18,-3526.5188,-2512.3477,51.91591,100,0,0,0), +(@NPC,19,-3549.577,-2502.6987,51.898598,100,0,0,0), +(@NPC,20,-3566.9597,-2502.909,51.898598,100,0,0,0), +(@NPC,21,-3579.585,-2506.8503,52.656944,100,0,0,0), +(@NPC,22,-3600.287,-2520.8633,53.778206,100,0,0,0), +(@NPC,23,-3607.8025,-2527.384,52.83782,100,0,0,0), +(@NPC,24,-3613.32,-2544.4688,51.251194,100,0,0,0), +(@NPC,25,-3618.071,-2565.5806,51.82637,100,0,0,0), +(@NPC,26,-3631.197,-2580.5403,52.27488,100,0,0,0), +(@NPC,27,-3636.6912,-2575.7825,52.440125,100,0,0,0), +(@NPC,28,-3631.197,-2580.5403,52.27488,100,0,0,0), +(@NPC,29,-3618.071,-2565.5806,51.82637,100,0,0,0), +(@NPC,30,-3613.32,-2544.4688,51.251194,100,0,0,0), +(@NPC,31,-3607.8025,-2527.384,52.83782,100,0,0,0), +(@NPC,32,-3600.2903,-2520.8855,53.929134,100,0,0,0), +(@NPC,33,-3579.585,-2506.8503,52.656944,100,0,0,0), +(@NPC,34,-3566.9597,-2502.909,51.898598,100,0,0,0), +(@NPC,35,-3549.577,-2502.6987,51.898598,100,0,0,0), +(@NPC,36,-3526.5188,-2512.3477,51.91591,100,0,0,0), +(@NPC,37,-3501.2612,-2533.691,51.940044,100,0,0,0), +(@NPC,38,-3479.704,-2551.5251,54.428276,100,0,0,0), +(@NPC,39,-3505.2476,-2533.533,52.188953,100,0,0,0), +(@NPC,40,-3523.6025,-2500.4968,52.1359,100,0,0,0), +(@NPC,41,-3518.9417,-2467.0955,48.720005,100,0,0,0), +(@NPC,42,-3500.055,-2452.8474,46.249107,100,0,0,0), +(@NPC,43,-3477.7092,-2433.6294,49.604088,100,0,0,0), +(@NPC,44,-3467.0144,-2414.6218,52.552364,100,0,0,0), +(@NPC,45,-3439.6643,-2399.7122,51.900017,100,0,0,0), +(@NPC,46,-3432.8145,-2381.444,51.898613,100,0,0,0), +(@NPC,47,-3422.8755,-2366.919,51.919437,100,0,0,0), +(@NPC,48,-3401.106,-2332.9788,52.93666,100,0,0,0), +(@NPC,49,-3374.3625,-2300.03,51.927055,100,0,0,0), +(@NPC,50,-3366.82,-2266.5537,53.633766,100,0,0,0), +(@NPC,51,-3356.2737,-2233.3323,50.552464,100,0,0,0), +(@NPC,52,-3358.0781,-2200.3965,46.97389,100,0,0,0); +-- 0x20566000000103400000D000004F8B43 .go xyz -3351.1099 -2167.3994 45.16283 + +-- Pathing for Flesh Golem Entry: 1805 +SET @NPC := 52473; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=1346.9506,`position_y`=-1624.8699,`position_z`=57.355385 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,1346.9506,-1624.8699,57.355385,100,0,0,0), +(@NPC,2,1368.5435,-1603.7389,57.53905,100,0,0,0), +(@NPC,3,1377.7723,-1576.5139,58.823513,100,0,0,0), +(@NPC,4,1382.1422,-1546.4911,58.845856,100,0,0,0), +(@NPC,5,1404.9288,-1521.2911,58.149628,100,0,0,0), +(@NPC,6,1398.5068,-1498.1816,55.29832,100,0,0,0), +(@NPC,7,1422.3698,-1462.3817,53.824345,100,0,0,0), +(@NPC,8,1427.2174,-1444.4377,54.898552,100,0,0,0), +(@NPC,9,1424.9539,-1422.2397,55.68892,100,0,0,0), +(@NPC,10,1412.4283,-1391.2101,54.804043,100,0,0,0), +(@NPC,11,1401.3141,-1376.8511,53.750977,100,0,0,0), +(@NPC,12,1384.3846,-1354.7926,53.750343,100,0,0,0), +(@NPC,13,1369.6737,-1338.0256,52.804253,100,0,0,0), +(@NPC,14,1353.4249,-1324.2499,52.042034,100,0,0,0), +(@NPC,15,1355.9972,-1312.9703,53.34905,100,0,0,0), +(@NPC,16,1377.0181,-1300.1298,57.02207,100,0,0,0), +(@NPC,17,1394.1621,-1287.9883,59.68033,100,0,0,0), +(@NPC,18,1377.0176,-1300.1289,56.958725,100,0,0,0), +(@NPC,19,1355.9972,-1312.9703,53.34905,100,0,0,0), +(@NPC,20,1353.4249,-1324.2499,52.042034,100,0,0,0), +(@NPC,21,1369.6737,-1338.0256,52.804253,100,0,0,0), +(@NPC,22,1384.3846,-1354.7926,53.750343,100,0,0,0), +(@NPC,23,1401.3141,-1376.8511,53.750977,100,0,0,0), +(@NPC,24,1412.3359,-1391.0898,54.784958,100,0,0,0), +(@NPC,25,1424.9539,-1422.2397,55.68892,100,0,0,0), +(@NPC,26,1427.2174,-1444.4377,54.898552,100,0,0,0), +(@NPC,27,1422.3698,-1462.3817,53.824345,100,0,0,0), +(@NPC,28,1398.4666,-1498.0406,55.250805,100,0,0,0), +(@NPC,29,1404.9288,-1521.2911,58.149628,100,0,0,0), +(@NPC,30,1382.1422,-1546.4911,58.845856,100,0,0,0), +(@NPC,31,1377.7723,-1576.5139,58.823513,100,0,0,0), +(@NPC,32,1368.5435,-1603.7389,57.53905,100,0,0,0); +-- 0x205660000001C3400000DE00004ECF8A .go xyz 1346.9506 -1624.8699 57.355385 + +-- Pathing for Flesh Golem Entry: 1805 +SET @NPC := 52673; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=1352.0759,`position_y`=-1297.7389,`position_z`=55.686394 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,1352.0759,-1297.7389,55.686394,100,0,0,0), +(@NPC,2,1349.26,-1339.8678,50.104862,100,0,0,0), +(@NPC,3,1337.594,-1364.1484,47.110104,100,0,0,0), +(@NPC,4,1322.2092,-1379.3774,46.07246,100,0,0,0), +(@NPC,5,1315.2496,-1404.4944,46.415993,100,0,0,0), +(@NPC,6,1328.403,-1438.4674,50.45847,100,0,0,0), +(@NPC,7,1341.5736,-1470.837,55.891506,100,0,0,0), +(@NPC,8,1360.378,-1492.6565,56.66162,100,0,0,0), +(@NPC,9,1364.2367,-1513.2711,57.54044,100,0,0,0), +(@NPC,10,1366.762,-1531.5848,57.697063,100,0,0,0), +(@NPC,11,1378.4156,-1544.4293,58.386543,100,0,0,0), +(@NPC,12,1379.8934,-1566.8397,59.08831,100,0,0,0), +(@NPC,13,1374.9092,-1582.0586,58.483574,100,0,0,0), +(@NPC,14,1368.372,-1600.4567,57.72251,100,0,0,0), +(@NPC,15,1370.3275,-1624.0597,58.694847,100,0,0,0), +(@NPC,16,1381.3091,-1629.9564,60.63743,100,0,0,0), +(@NPC,17,1404.7106,-1631.9456,65.21604,100,0,0,0), +(@NPC,18,1408.5424,-1660.0988,65.79956,100,0,0,0), +(@NPC,19,1421.5641,-1676.1636,68.197914,100,0,0,0), +(@NPC,20,1408.5424,-1660.0988,65.79956,100,0,0,0), +(@NPC,21,1404.7106,-1631.9456,65.21604,100,0,0,0), +(@NPC,22,1381.3091,-1629.9564,60.63743,100,0,0,0), +(@NPC,23,1370.3275,-1624.0597,58.694847,100,0,0,0), +(@NPC,24,1368.372,-1600.4567,57.72251,100,0,0,0), +(@NPC,25,1374.8898,-1582.1113,58.493008,100,0,0,0), +(@NPC,26,1379.8934,-1566.8397,59.08831,100,0,0,0), +(@NPC,27,1378.4156,-1544.4293,58.386543,100,0,0,0), +(@NPC,28,1366.762,-1531.5848,57.697063,100,0,0,0), +(@NPC,29,1364.2367,-1513.2711,57.54044,100,0,0,0), +(@NPC,30,1360.378,-1492.6565,56.66162,100,0,0,0), +(@NPC,31,1341.5736,-1470.837,55.891506,100,0,0,0), +(@NPC,32,1328.403,-1438.4674,50.45847,100,0,0,0), +(@NPC,33,1315.2496,-1404.4944,46.415993,100,0,0,0), +(@NPC,34,1322.2092,-1379.3774,46.07246,100,0,0,0), +(@NPC,35,1337.594,-1364.1484,47.110104,100,0,0,0), +(@NPC,36,1349.26,-1339.8678,50.104862,100,0,0,0); +-- 0x205660000001C3400000DE00004ECF89 .go xyz 1352.0759 -1297.7389 55.686394 + +-- Pathing for Gish the Unmoving Entry: 10825 +SET @NPC := 86626; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=2730.0793,`position_y`=-4068.513,`position_z`=96.134514 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,2730.0793,-4068.513,96.134514,100,0,0,0), +(@NPC,2,2716.4666,-4089.467,92.41655,100,0,0,0), +(@NPC,3,2721.4548,-4098.445,93.94249,100,0,0,0), +(@NPC,4,2726.4158,-4121.346,91.97764,100,0,0,0), +(@NPC,5,2713.9072,-4140.333,92.51868,100,0,0,0), +(@NPC,6,2683.0908,-4156.342,86.703445,100,0,0,0), +(@NPC,7,2687.3203,-4186.8594,84.56078,100,0,0,0), +(@NPC,8,2699.8296,-4220.261,85.59621,100,0,0,0), +(@NPC,9,2686.9062,-4241.416,93.05226,100,0,0,0), +(@NPC,10,2654.6802,-4258.8994,91.096954,100,0,0,0), +(@NPC,11,2643.968,-4284.5376,93.527695,100,0,0,0), +(@NPC,12,2611.2578,-4288.791,79.55385,100,0,0,0), +(@NPC,13,2580.8452,-4290.217,69.617615,100,0,0,0), +(@NPC,14,2547.0864,-4302.1147,74.428566,100,0,0,0), +(@NPC,15,2516.5703,-4307.5645,77.18063,100,0,0,0), +(@NPC,16,2484.2244,-4311.738,76.2066,100,0,0,0), +(@NPC,17,2444.264,-4329.041,74.3391,100,0,0,0), +(@NPC,18,2400.5942,-4346.721,78.619774,100,0,0,0), +(@NPC,19,2403.3867,-4384.414,74.339966,100,0,0,0), +(@NPC,20,2418.1116,-4412.9556,74.074104,100,0,0,0), +(@NPC,21,2405.3188,-4444.183,73.75288,100,0,0,0), +(@NPC,22,2386.8474,-4484.784,75.091095,100,0,0,0), +(@NPC,23,2379.4856,-4527.576,74.943375,100,0,0,0), +(@NPC,24,2377.3516,-4563.561,73.864685,100,0,0,0), +(@NPC,25,2371.6348,-4602.9946,73.622604,100,0,0,0), +(@NPC,26,2372.836,-4632.5405,74.30475,100,0,0,0), +(@NPC,27,2349.516,-4652.7007,75.20744,100,0,0,0), +(@NPC,28,2349.6863,-4683.745,75.7644,100,0,0,0), +(@NPC,29,2345.4814,-4714.6885,74.09731,100,0,0,0), +(@NPC,30,2345.4626,-4738.2646,77.56743,100,0,0,0), +(@NPC,31,2326.1658,-4766.8726,85.07955,100,0,0,0), +(@NPC,32,2340.9985,-4786.896,86.37433,100,0,0,0), +(@NPC,33,2345.4712,-4806.6943,88.2696,100,0,0,0), +(@NPC,34,2328.6045,-4831.029,94.17449,100,0,0,0), +(@NPC,35,2328.0803,-4851.301,88.56977,100,0,0,0), +(@NPC,36,2334.038,-4882.059,83.156364,100,0,0,0), +(@NPC,37,2347.5417,-4915.3325,74.47858,100,0,0,0), +(@NPC,38,2346.3755,-4948.5337,71.86297,100,0,0,0), +(@NPC,39,2345.853,-4981.762,71.02929,100,0,0,0), +(@NPC,40,2319.9426,-5011.8867,73.51717,100,0,0,0), +(@NPC,41,2345.853,-4981.762,71.02929,100,0,0,0), +(@NPC,42,2346.3755,-4948.5337,71.86297,100,0,0,0), +(@NPC,43,2347.5417,-4915.3325,74.47858,100,0,0,0), +(@NPC,44,2334.038,-4882.059,83.156364,100,0,0,0), +(@NPC,45,2328.0803,-4851.301,88.56977,100,0,0,0), +(@NPC,46,2328.6045,-4831.029,94.17449,100,0,0,0), +(@NPC,47,2345.4712,-4806.6943,88.2696,100,0,0,0), +(@NPC,48,2340.9985,-4786.896,86.37433,100,0,0,0), +(@NPC,49,2326.1658,-4766.8726,85.07955,100,0,0,0), +(@NPC,50,2345.4626,-4738.2646,77.56743,100,0,0,0), +(@NPC,51,2345.4814,-4714.6885,74.09731,100,0,0,0), +(@NPC,52,2349.6863,-4683.745,75.7644,100,0,0,0), +(@NPC,53,2349.516,-4652.7007,75.20744,100,0,0,0), +(@NPC,54,2372.836,-4632.5405,74.30475,100,0,0,0), +(@NPC,55,2371.6348,-4602.9946,73.622604,100,0,0,0), +(@NPC,56,2377.3516,-4563.561,73.864685,100,0,0,0), +(@NPC,57,2379.4856,-4527.576,74.943375,100,0,0,0), +(@NPC,58,2386.8474,-4484.784,75.091095,100,0,0,0), +(@NPC,59,2405.3188,-4444.183,73.75288,100,0,0,0), +(@NPC,60,2418.1116,-4412.9556,74.074104,100,0,0,0), +(@NPC,61,2403.3867,-4384.414,74.339966,100,0,0,0), +(@NPC,62,2400.5942,-4346.721,78.619774,100,0,0,0), +(@NPC,63,2444.1514,-4329.0957,74.407135,100,0,0,0), +(@NPC,64,2484.2244,-4311.738,76.2066,100,0,0,0), +(@NPC,65,2516.547,-4307.5767,77.20637,100,0,0,0), +(@NPC,66,2547.0625,-4302.127,74.29951,100,0,0,0), +(@NPC,67,2580.8452,-4290.217,69.617615,100,0,0,0), +(@NPC,68,2611.1829,-4288.824,79.62756,100,0,0,0), +(@NPC,69,2643.968,-4284.5376,93.527695,100,0,0,0), +(@NPC,70,2654.6802,-4258.8994,91.096954,100,0,0,0), +(@NPC,71,2686.9062,-4241.416,93.05226,100,0,0,0), +(@NPC,72,2699.8296,-4220.261,85.59621,100,0,0,0), +(@NPC,73,2687.3203,-4186.8594,84.56078,100,0,0,0), +(@NPC,74,2683.0908,-4156.342,86.703445,100,0,0,0), +(@NPC,75,2713.9072,-4140.333,92.51868,100,0,0,0), +(@NPC,76,2726.4158,-4121.346,91.97764,100,0,0,0), +(@NPC,77,2721.4548,-4098.445,93.94249,100,0,0,0), +(@NPC,78,2716.4666,-4089.467,92.41655,100,0,0,0); +-- 0x20566000000A92400000DC0000504E37 .go xyz 2730.0793 -4068.513 96.134514 + +-- Pathing for Magronos the Unyielding Entry: 8297 +SET @NPC := 38083; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-11471.105,`position_y`=-2905.2903,`position_z`=9.161322 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-11471.105,-2905.2903,9.161322,100,0,0,0), +(@NPC,2,-11481.38,-2874.0586,6.8122935,100,0,0,0), +(@NPC,3,-11488.649,-2845.1138,3.2877135,100,0,0,0), +(@NPC,4,-11519.598,-2820.7827,2.2166934,100,0,0,0), +(@NPC,5,-11550.359,-2818.744,3.8359237,100,0,0,0), +(@NPC,6,-11579.605,-2833.9033,4.8763,100,0,0,0), +(@NPC,7,-11550.359,-2818.744,3.8359237,100,0,0,0), +(@NPC,8,-11519.598,-2820.7827,2.2166934,100,0,0,0), +(@NPC,9,-11488.649,-2845.1138,3.2877135,100,0,0,0), +(@NPC,10,-11481.38,-2874.0586,6.8122935,100,0,0,0); +-- 0x2056600000081A400000BA00005015D6 .go xyz -11471.105 -2905.2903 9.161322 + +-- Pathing for Spiteflayer Entry: 8299 +SET @NPC := 38089; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-11356.557,`position_y`=-3287.0134,`position_z`=8.705396 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-11356.557,-3287.0134,8.705396,100,0,0,0), +(@NPC,2,-11381.31,-3259.954,7.0270348,100,0,0,0), +(@NPC,3,-11409.367,-3257.2214,8.16335,100,0,0,0), +(@NPC,4,-11448.442,-3243.543,12.253174,100,0,0,0), +(@NPC,5,-11482.741,-3234.6091,15.516386,100,0,0,0), +(@NPC,6,-11515.604,-3234.0188,7.5204773,100,0,0,0), +(@NPC,7,-11545.439,-3232.9666,6.7203364,100,0,0,0), +(@NPC,8,-11586.63,-3255.9683,7.3979306,100,0,0,0), +(@NPC,9,-11613.567,-3249.457,10.520136,100,0,0,0), +(@NPC,10,-11586.63,-3255.9683,7.3979306,100,0,0,0), +(@NPC,11,-11545.439,-3232.9666,6.7203364,100,0,0,0), +(@NPC,12,-11515.604,-3234.0188,7.5204773,100,0,0,0), +(@NPC,13,-11482.741,-3234.6091,15.516386,100,0,0,0), +(@NPC,14,-11448.442,-3243.543,12.253174,100,0,0,0), +(@NPC,15,-11409.367,-3257.2214,8.16335,100,0,0,0), +(@NPC,16,-11381.31,-3259.954,7.0270348,100,0,0,0); +-- 0x2056600000081AC00000BA00004F8C28 .go xyz -11356.557 -3287.0134 8.705396 + +-- Pathing for Teremus the Devourer Entry: 7846 +SET @NPC := 300380; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-11452.185,`position_y`=-3021.1155,`position_z`=2.690845 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-11452.185,-3021.1155,2.690845,100,0,0,0), +(@NPC,2,-11447.513,-2992.6787,3.706331,100,0,0,0), +(@NPC,3,-11440.047,-2961.9202,4.659253,100,0,0,0), +(@NPC,4,-11432.337,-2930.9375,4.14372,100,0,0,0), +(@NPC,5,-11423.185,-2897.7395,4.388871,100,0,0,0), +(@NPC,6,-11409.192,-2862.8855,1.8177621,100,0,0,0), +(@NPC,7,-11400.594,-2842.98,-2.600286,100,0,0,0), +(@NPC,8,-11394.252,-2823.9368,-2.3774426,100,0,0,0), +(@NPC,9,-11374.193,-2784.7375,3.9264908,100,0,0,0), +(@NPC,10,-11365.964,-2773.008,5.28101,100,0,0,0), +(@NPC,11,-11354.989,-2760.0552,7.222915,100,0,0,0), +(@NPC,12,-11336.082,-2749.3254,8.476002,100,0,0,0), +(@NPC,13,-11311.342,-2737.8857,9.147703,100,0,0,0), +(@NPC,14,-11288.629,-2732.5032,10.594877,100,0,0,0), +(@NPC,15,-11264.636,-2729.5579,12.013532,100,0,0,0), +(@NPC,16,-11240.161,-2728.6458,13.998357,100,0,0,0), +(@NPC,17,-11214.323,-2727.3062,14.292347,100,0,0,0), +(@NPC,18,-11197,-2726.9407,14.5028715,100,0,0,0), +(@NPC,19,-11179.625,-2730.6125,14.812838,100,0,0,0), +(@NPC,20,-11153.095,-2736.5093,14.553213,100,0,0,0), +(@NPC,21,-11134.572,-2743.7622,14.254868,100,0,0,0), +(@NPC,22,-11110.348,-2749.5146,16.212275,100,0,0,0), +(@NPC,23,-11091.463,-2765.8647,13.380157,100,0,0,0), +(@NPC,24,-11074.897,-2783.5159,8.1396885,100,0,0,0), +(@NPC,25,-11060.415,-2808.9968,9.572239,100,0,0,0), +(@NPC,26,-11060.147,-2837.757,11.289812,100,0,0,0), +(@NPC,27,-11071.951,-2863.1267,10.347907,100,0,0,0), +(@NPC,28,-11082.979,-2882.8188,10.011209,100,0,0,0), +(@NPC,29,-11087.871,-2904.4053,9.678517,100,0,0,0), +(@NPC,30,-11097.72,-2920.0496,10.563557,100,0,0,0), +(@NPC,31,-11115.97,-2941.9937,8.856932,100,0,0,0), +(@NPC,32,-11134.464,-2965.0276,8.457177,100,0,0,0), +(@NPC,33,-11149.253,-2986.2056,8.422845,100,0,0,0), +(@NPC,34,-11165.489,-2998.9626,8.096128,100,0,0,0), +(@NPC,35,-11185.015,-3014.5952,7.602865,100,0,0,0), +(@NPC,36,-11189.042,-3035.5764,7.494821,100,0,0,0), +(@NPC,37,-11188.348,-3052.523,8.604211,100,0,0,0), +(@NPC,38,-11195.044,-3074.014,8.920469,100,0,0,0), +(@NPC,39,-11214.508,-3102.6067,5.6643276,100,0,0,0), +(@NPC,40,-11230.724,-3111.4507,4.197815,100,0,0,0), +(@NPC,41,-11257.033,-3122.3684,2.647364,100,0,0,0), +(@NPC,42,-11279.355,-3131.261,3.982787,100,0,0,0), +(@NPC,43,-11309.761,-3148.0696,5.6313143,100,0,0,0), +(@NPC,44,-11324.238,-3155.54,6.687194,100,0,0,0), +(@NPC,45,-11339.903,-3166.5547,10.055071,100,0,0,0), +(@NPC,46,-11348.532,-3175.1575,11.990341,100,0,0,0), +(@NPC,47,-11358.508,-3200.5134,10.607478,100,0,0,0), +(@NPC,48,-11365.7,-3224.1362,9.956708,100,0,0,0), +(@NPC,49,-11375.31,-3249.7844,3.4835453,100,0,0,0), +(@NPC,50,-11395.07,-3264.884,7.484415,100,0,0,0), +(@NPC,51,-11406.378,-3278.1267,6.84892,100,0,0,0), +(@NPC,52,-11412.43,-3299.147,7.503639,100,0,0,0), +(@NPC,53,-11401.319,-3319.4111,7.9159136,100,0,0,0), +(@NPC,54,-11378.084,-3345.0664,7.8573866,100,0,0,0), +(@NPC,55,-11366.861,-3360.8662,7.467742,100,0,0,0), +(@NPC,56,-11355.104,-3368.5725,7.467742,100,0,0,0), +(@NPC,57,-11336.492,-3375.9072,8.084338,100,0,0,0), +(@NPC,58,-11312.348,-3384.6646,7.4858418,100,0,0,0), +(@NPC,59,-11290.526,-3376.3435,8.093779,100,0,0,0), +(@NPC,60,-11260.88,-3367.6023,6.2112393,100,0,0,0), +(@NPC,61,-11252.529,-3353.9211,10.083712,100,0,0,0), +(@NPC,62,-11216.978,-3330.2073,9.138239,100,0,0,0), +(@NPC,63,-11212.661,-3313.584,8.474125,100,0,0,0), +(@NPC,64,-11205.215,-3295.862,8.971279,100,0,0,0), +(@NPC,65,-11179.683,-3281.442,7.9631433,100,0,0,0), +(@NPC,66,-11159.469,-3262.4407,8.004014,100,0,0,0), +(@NPC,67,-11175.659,-3235.1816,6.6550655,100,0,0,0), +(@NPC,68,-11187.451,-3208.3977,7.3330173,100,0,0,0), +(@NPC,69,-11191.806,-3189.8325,7.0883355,100,0,0,0), +(@NPC,70,-11199.316,-3167.8877,8.072958,100,0,0,0), +(@NPC,71,-11216.826,-3152.0286,7.118622,100,0,0,0), +(@NPC,72,-11238.744,-3140.9683,3.6330094,100,0,0,0), +(@NPC,73,-11269.335,-3134.8896,3.6735663,100,0,0,0), +(@NPC,74,-11283.896,-3128.6536,3.9523687,100,0,0,0), +(@NPC,75,-11304.911,-3120.5742,-0.24403684,100,0,0,0), +(@NPC,76,-11323.099,-3111.834,-1.6543233,100,0,0,0), +(@NPC,77,-11340.774,-3100.5447,0.71999276,100,0,0,0), +(@NPC,78,-11351.221,-3081.7139,0.572357,100,0,0,0), +(@NPC,79,-11368.439,-3057.5688,-4.4157023,100,0,0,0), +(@NPC,80,-11373.68,-3042.4226,-4.5729165,100,0,0,0), +(@NPC,81,-11383.776,-3013.359,-4.3366685,100,0,0,0), +(@NPC,82,-11397.849,-2988.1895,-0.5307181,100,0,0,0), +(@NPC,83,-11411.694,-2957.2195,1.3142006,100,0,0,0), +(@NPC,84,-11410.966,-2939.3606,2.1385086,100,0,0,0), +(@NPC,85,-11421.644,-2911.3318,3.308126,100,0,0,0), +(@NPC,86,-11436.177,-2886.581,6.036065,100,0,0,0), +(@NPC,87,-11453.426,-2857.7488,1.4844178,100,0,0,0), +(@NPC,88,-11475.824,-2837.3142,0.50983864,100,0,0,0), +(@NPC,89,-11494.294,-2818.118,0.18395752,100,0,0,0), +(@NPC,90,-11531.063,-2807.839,1.6703811,100,0,0,0), +(@NPC,91,-11557.856,-2803.1824,5.474016,100,0,0,0), +(@NPC,92,-11606.11,-2803.0813,3.0381584,100,0,0,0), +(@NPC,93,-11632.767,-2812.8037,3.4936247,100,0,0,0), +(@NPC,94,-11651.763,-2826.802,1.0913768,100,0,0,0), +(@NPC,95,-11666.462,-2839.7925,0.7863139,100,0,0,0), +(@NPC,96,-11683.745,-2857.1948,3.5244431,100,0,0,0), +(@NPC,97,-11705.761,-2873.995,-0.23477973,100,0,0,0), +(@NPC,98,-11715.516,-2890.8057,4.1271734,100,0,0,0), +(@NPC,99,-11725.203,-2912.068,5.059621,100,0,0,0), +(@NPC,100,-11735.21,-2931.7363,6.3788114,100,0,0,0), +(@NPC,101,-11731.845,-2946.8684,3.6420872,100,0,0,0), +(@NPC,102,-11708.942,-2956.3535,7.142193,100,0,0,0), +(@NPC,103,-11698.099,-2979.8413,7.885341,100,0,0,0), +(@NPC,104,-11679.147,-3011.3735,8.266886,100,0,0,0), +(@NPC,105,-11677.367,-3028.838,9.835768,100,0,0,0), +(@NPC,106,-11678.764,-3047.113,15.1894455,100,0,0,0), +(@NPC,107,-11681.8,-3059.6785,19.366013,100,0,0,0), +(@NPC,108,-11682.329,-3074.488,24.89584,100,0,0,0), +(@NPC,109,-11677.341,-3096.8442,21.938295,100,0,0,0), +(@NPC,110,-11675.363,-3125.653,18.781881,100,0,0,0), +(@NPC,111,-11674.648,-3153.947,16.889,100,0,0,0), +(@NPC,112,-11660.522,-3164.5845,19.171692,100,0,0,0), +(@NPC,113,-11664.662,-3194.7864,16.671803,100,0,0,0), +(@NPC,114,-11667.247,-3219.7627,16.831081,100,0,0,0), +(@NPC,115,-11658.223,-3239.6846,16.630054,100,0,0,0), +(@NPC,116,-11648.709,-3250.939,17.571756,100,0,0,0), +(@NPC,117,-11634.974,-3259.8042,15.405701,100,0,0,0), +(@NPC,118,-11603.954,-3268.2817,7.711605,100,0,0,0), +(@NPC,119,-11587.388,-3265.314,7.2574472,100,0,0,0), +(@NPC,120,-11563.707,-3254.432,6.730211,100,0,0,0), +(@NPC,121,-11551.614,-3237.7283,6.361493,100,0,0,0), +(@NPC,122,-11527.461,-3205.2861,7.338276,100,0,0,0), +(@NPC,123,-11515.489,-3180.7961,9.097815,100,0,0,0), +(@NPC,124,-11507.07,-3158.4321,8.009653,100,0,0,0), +(@NPC,125,-11496.402,-3144.4385,6.9981337,100,0,0,0), +(@NPC,126,-11479.239,-3115.1165,5.73084,100,0,0,0), +(@NPC,127,-11466.996,-3077.7197,1.137204,100,0,0,0), +(@NPC,128,-11454.458,-3039.7974,1.2280093,100,0,0,0); +-- 0x205660000007A9800000BA00004FF485 .go xyz -11452.185 -3021.1155 2.690845 + +-- Pathing for Lord Kazzak Entry: 12397 +SET @NPC := 156950; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-12226.763,`position_y`=-2433.5713,`position_z`=1.7650497 WHERE `guid`=@NPC; +DELETE FROM `creature_movement_scripts` WHERE `id`=54; +INSERT INTO `creature_movement_scripts` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES +(54, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Kazzak Running'), +(54, 5, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Kazzak Walking'); +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-12226.763,-2433.5713,1.7650497,100,0,0,0), +(@NPC,2,-12199.389,-2443.9436,-0.78273857,100,0,0,0), +(@NPC,3,-12176.748,-2463.1792,-0.68192375,100,0,0,0), +(@NPC,4,-12162.133,-2490.0483,1.2443819,100,0,0,0), +(@NPC,5,-12129.575,-2509.9036,3.5271091,100,0,0,0), +(@NPC,6,-12105.117,-2514.2732,3.3323827,100,45000,0,0), +(@NPC,7,-12134.097,-2502.787,3.9369826,100,0,0,0), +(@NPC,8,-12163.053,-2512.6086,0.017738817,100,0,0,0), +(@NPC,9,-12185.21,-2510.9187,0.13206376,100,0,0,0), +(@NPC,10,-12202.606,-2521.4878,0.94420856,100,0,0,0), +(@NPC,11,-12200.373,-2529.1758,1.5571474,100,40000,0,0), +(@NPC,12,-12220.614,-2521.7407,1.4189334,100,0,0,0), +(@NPC,13,-12254.349,-2523.1687,1.2085795,100,0,0,0), +(@NPC,14,-12274.052,-2542.8152,2.68905,100,0,0,0), +(@NPC,15,-12282.299,-2570.5627,2.3744166,100,35000,0,0), +(@NPC,16,-12283.778,-2530.9458,5.151241,100,0,0,0), +(@NPC,17,-12281.981,-2493.7773,5.0538664,100,0,0,0), +(@NPC,18,-12281.542,-2458.9329,4.9822454,100,0,0,0), +(@NPC,19,-12272.148,-2450.7114,4.260955,100,1000,0,54), +(@NPC,20,-12260.24,-2442.2402,3.372902,5.480333805084228515,120000,0,0); +-- 0x20566000000C1B400000BA0000504F21 .go xyz -12226.763 -2433.5713 1.7650497 + +-- Pathing for Servant of Grol Entry: 7669 +SET @NPC := 3102; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-11540.997,`position_y`=-2896.7283,`position_z`=10.673933 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-11540.997,-2896.7283,10.673933,100,1000,0,0), +(@NPC,2,-11534.626,-2880.435,12.065857,100,0,0,0), +(@NPC,3,-11525.544,-2860.7937,8.6813545,100,1000,0,0), +(@NPC,4,-11534.626,-2880.435,12.065857,100,0,0,0); +-- 0x2056600000077D400000BA00004ECF83 .go xyz -11540.997 -2896.7283 10.673933 + +-- Pathing for Twilight Lord Everun Entry: 14479 +SET @NPC := 43126; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-7951.504,`position_y`=1902.7754,`position_z`=2.0038052 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-7951.504,1902.7754,2.0038052,100,0,0,0), +(@NPC,2,-7933.4087,1915.5533,4.6457415,100,0,0,0), +(@NPC,3,-7899.944,1913.0352,3.5688062,100,0,0,0), +(@NPC,4,-7880.021,1903.6083,4.7435956,100,0,0,0), +(@NPC,5,-7874.553,1886.3151,5.1572857,100,0,0,0), +(@NPC,6,-7896.264,1870.8499,4.9292903,100,0,0,0), +(@NPC,7,-7912.2925,1852.6246,4.7613554,100,0,0,0), +(@NPC,8,-7913.682,1834.233,3.933432,100,0,0,0), +(@NPC,9,-7923.2197,1822.1998,3.4751189,100,0,0,0), +(@NPC,10,-7939.8115,1820.0737,3.8454254,100,0,0,0), +(@NPC,11,-7950.682,1834.8329,3.7039914,100,0,0,0), +(@NPC,12,-7941.653,1859.44,4.7857866,100,0,0,0), +(@NPC,13,-7948.3237,1881.0114,3.4982915,100,0,0,0); +-- 0x20566000200E23C00000CE00004F1FA4 .go xyz -7951.504 1902.7754 2.0038052 + +-- Pathing for Twilight Keeper Havunth Entry: 11804 +SET @NPC := 42747; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-6925.26,`position_y`=1131.22,`position_z`=4.18033,`orientation`=5.61996 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-6926.1953,1127.4082,3.553514,100,0,0,0), +(@NPC,2,-6931.9688,1121.1703,2.3544683,100,0,0,0), +(@NPC,3,-6937.7705,1115.5477,0.97661006,100,0,0,0), +(@NPC,4,-6942.8906,1110.4772,0.49582213,100,0,0,0), +(@NPC,5,-6950.607,1104.3662,0.5819813,100,0,0,0), +(@NPC,6,-6955.9766,1102.6522,0.5347837,100,0,0,0), +(@NPC,7,-6942.8906,1110.4772,0.49582213,100,0,0,0), +(@NPC,8,-6937.7705,1115.5477,0.97661006,100,0,0,0), +(@NPC,9,-6932.0215,1121.1182,2.4107065,100,0,0,0); +-- 0x20566000200B87000000CE00004ECF7F .go xyz -6926.1953 1127.4082 3.553514 + +-- Pathing for Argent Dawn Infantry Entry: 16228 +SET @NPC := 52699; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=2750.1484,`position_y`=-4073.8293,`position_z`=94.61037 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=52701; +INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES (52699, 52701, 3, 1.56, 1); +INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES (52699, 52699, 0, 0, 1); +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,2750.1484,-4073.8293,94.61037,100,0,0,0), +(@NPC,2,2746.3845,-4054.0754,95.0365,100,0,0,0), +(@NPC,3,2750.8342,-4040.674,95.69042,100,0,0,0), +(@NPC,4,2756.954,-4028.9602,96.36938,100,0,0,0), +(@NPC,5,2755.827,-4013.9993,96.456436,100,0,0,0), +(@NPC,6,2746.7075,-4011.6086,95.572395,100,0,0,0), +(@NPC,7,2728.812,-4010.6992,93.56653,100,0,0,0), +(@NPC,8,2711.836,-4014.4236,91.44728,100,0,0,0), +(@NPC,9,2728.812,-4010.6992,93.56653,100,0,0,0), +(@NPC,10,2746.7075,-4011.6086,95.572395,100,0,0,0), +(@NPC,11,2755.827,-4013.9993,96.456436,100,0,0,0), +(@NPC,12,2756.954,-4028.9602,96.36938,100,0,0,0), +(@NPC,13,2750.8342,-4040.674,95.69042,100,0,0,0), +(@NPC,14,2746.3845,-4054.0754,95.0365,100,0,0,0); +-- 0x20566000000FD9000000DC00014ECF83 .go xyz 2750.1484 -4073.8293 94.61037 + +-- Add random movement to Manahounds around The Dark Portal +UPDATE `creature` SET `movement_type`=1, `wander_distance`=30 WHERE `guid`=203304; +UPDATE `creature` SET `movement_type`=1, `wander_distance`=30 WHERE `guid`=203281; + +-- Update spawns according to sniff: +-- Twilight Avenger/Geolord 1 +UPDATE `creature` SET `position_x`=-7048.37,`position_y`=1219.74,`position_z`=0.432426,`orientation`=0.714684 WHERE `guid`=42994; +-- Twilight Avenger/Geolord 2 +UPDATE `creature` SET `position_x`=-7000.02,`position_y`=1246.85,`position_z`=3.286,`orientation`=5.65487 WHERE `guid`=43037; +-- Twilight Avenger/Geolord 3 +UPDATE `creature` SET `position_x`=-6981.23,`position_y`=1249.09,`position_z`=-0.0818057,`orientation`=3.63618 WHERE `guid`=42953; +-- Remove waypoints and set random movement for Twilight Avenger/Geolord 4 +DELETE FROM `creature_movement` WHERE `id`=42956; +UPDATE `creature` SET `wander_distance`=15,`movement_type`=1 WHERE `guid`=42956; +-- Set random movement and is_spawn for Twilight Avenger/Geolord 5 +DELETE FROM `creature_movement` WHERE `id`=42996; +UPDATE `creature` SET `wander_distance`=15,`movement_type`=1 WHERE `guid`=42996; +UPDATE `creature` SET `position_x`=-7016.16,`position_y`=1085.52,`position_z`=3.44079,`orientation`=0.777024 WHERE `guid`=42996; +-- Set random movement and is_spawn for Twilight Avenger/Geolord 6 +DELETE FROM `creature_movement` WHERE `id`=42995; +UPDATE `creature` SET `wander_distance`=15,`movement_type`=1 WHERE `guid`=42995; +UPDATE `creature` SET `position_x`=-6949.04,`position_y`=1117.32,`position_z`=0.497721,`orientation`=5.9359 WHERE `guid`=42995; +-- Duplicate duplicate Twilight Avenger/Geolord 7 +DELETE FROM `creature` WHERE `guid`=42993; +-- Delete duplicate Twilight Avenger/Geolord 8 +DELETE FROM `creature` WHERE `guid`=43036; +-- Twilight Avenger/Geolord 9 +UPDATE `creature` SET `wander_distance`=15,`movement_type`=1,`position_x`=-6985.15,`position_y`=1081.93,`position_z`=4.20541,`orientation`=4.38291 WHERE `guid`=42970; +-- Delete duplicate Twilight Avenger/Geolord 9 +DELETE FROM `creature` WHERE `guid`=43041; +-- Twilight Avenger/Geolord 10 +UPDATE `creature` SET `wander_distance`=15,`movement_type`=1,`orientation`=2.73045 WHERE `guid`=42997; + +-- Pathing for Twilight Avenger Entry: 11880 +SET @NPC := 42992; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-7027.109,`position_y`=1150.3279,`position_z`=6.4466305 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-7027.109,1150.3279,6.4466305,100,0,0,0), +(@NPC,2,-7012.2603,1143.1754,6.581826,100,0,0,0), +(@NPC,3,-7000.5063,1141.953,8.80896,100,0,0,0), +(@NPC,4,-6992.7783,1130.6506,9.295771,100,0,0,0), +(@NPC,5,-6982.9395,1130.5131,8.505001,100,0,0,0), +(@NPC,6,-6974.928,1139.237,6.517437,100,0,0,0), +(@NPC,7,-6967.854,1153.5798,10.416408,100,0,0,0), +(@NPC,8,-6957.303,1162.9869,10.970554,100,0,0,0), +(@NPC,9,-6954.413,1182.5842,10.120466,100,0,0,0), +(@NPC,10,-6957.3794,1197.8461,9.39978,100,0,0,0), +(@NPC,11,-6969.861,1207.9724,7.6087193,100,0,0,0), +(@NPC,12,-6979.2915,1207.4105,9.365105,100,0,0,0), +(@NPC,13,-6996.9736,1211.4535,8.624156,100,0,0,0), +(@NPC,14,-7004.9043,1205.3691,7.876796,100,0,0,0), +(@NPC,15,-7013.64,1193.7899,7.5123014,100,0,0,0), +(@NPC,16,-7022.8057,1179.7672,7.523289,100,0,0,0), +(@NPC,17,-7022.104,1165.4275,8.792783,100,0,0,0); +-- 0x20566000200B9A000000CE00014ECF84 .go xyz -7027.109 1150.3279 6.4466305 + +-- Pathing for Twilight Avenger Entry: 11880 +SET @NPC := 42950; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-7010.0425,1122.3895,9.7443075,100,0,0,0), +(@NPC,2,-7010.0425,1122.3895,9.7443075,3.176499128341674804,30000,0,0), +(@NPC,3,-7007.5566,1125.5155,9.750399,100,0,0,0), +(@NPC,4,-7007.5566,1125.5155,9.750399,2.635447263717651367,30000,0,0); +-- 0x20566000200B9A000000CE00004ECF86 .go xyz -7010.0425 1122.3895 9.7443075 + +-- Pathing for Twilight Keeper Exeter Entry: 11803 +SET @NPC := 42746; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-7952.4517,`position_y`=1979.7828,`position_z`=5.44575 WHERE `guid`=@NPC; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-7952.4517,1979.7828,5.44575,100,1000,0,0), +(@NPC,2,-7964.69,1977.1038,6.907419,100,0,0,0), +(@NPC,3,-7972.6157,1976.5465,7.2139115,100,0,0,0), +(@NPC,4,-7979.9775,1972.1543,6.3561316,100,1000,0,0), +(@NPC,5,-7972.6157,1976.5465,7.2139115,100,0,0,0), +(@NPC,6,-7964.69,1977.1038,6.907419,100,0,0,0), +(@NPC,7,-7957.2954,1977.9607,5.92768,100,0,0,0); +-- 0x20566000200B86C00000CE0000501301 .go xyz -7952.4517 1979.7828 5.44575 + +-- Pathing for Twilight Geolord Entry: 11881 +SET @NPC := 43043; +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-7054.879,1170.2083,1.2795165,100,0,0,0), +(@NPC,2,-7063.4624,1157.3762,0.40489572,100,0,0,0), +(@NPC,3,-7064.0757,1142.274,1.4513805,100,0,0,0), +(@NPC,4,-7063.1973,1134.7804,2.2979043,100,0,0,0), +(@NPC,5,-7048.352,1116.4701,4.811369,100,0,0,0), +(@NPC,6,-7033.5186,1111.7156,4.4469175,100,0,0,0), +(@NPC,7,-7023.11,1105.2944,2.9240491,100,0,0,0), +(@NPC,8,-7013.368,1091.9794,2.1614013,100,0,0,0), +(@NPC,9,-7001.673,1085.7727,2.2545123,100,0,0,0), +(@NPC,10,-6985.394,1084.1324,3.4637282,100,0,0,0), +(@NPC,11,-6977.901,1083.3534,3.2175276,100,0,0,0), +(@NPC,12,-6962.0312,1095.8705,1.8611149,100,0,0,0), +(@NPC,13,-6946.3643,1109.3004,0.44034937,100,0,0,0), +(@NPC,14,-6945.4746,1124.7839,1.5468463,100,0,0,0), +(@NPC,15,-6936.933,1141.6678,4.1688423,100,0,0,0), +(@NPC,16,-6930.8213,1147.1066,4.5966597,100,0,0,0), +(@NPC,17,-6918.631,1159.8336,3.112652,100,0,0,0), +(@NPC,18,-6917.182,1180.3013,3.1782694,100,0,0,0), +(@NPC,19,-6918.2603,1196.7078,2.1701834,100,0,0,0), +(@NPC,20,-6917.9795,1223.1097,2.4220388,100,0,0,0), +(@NPC,21,-6926.3667,1236.4655,5.3643355,100,0,0,0), +(@NPC,22,-6944.3384,1250.7478,4.0561185,100,0,0,0), +(@NPC,23,-6967.205,1247.7053,-0.15249123,100,0,0,0), +(@NPC,24,-6980.8716,1252.9406,-0.21668285,100,0,0,0), +(@NPC,25,-7001.455,1245.8774,3.6264415,100,0,0,0), +(@NPC,26,-7016.5596,1245.8201,3.1758556,100,0,0,0), +(@NPC,27,-7036.189,1242.883,0.34961915,100,0,0,0), +(@NPC,28,-7048.4478,1230.1163,0.5989219,100,0,0,0), +(@NPC,29,-7057.77,1214.874,0.34909362,100,0,0,0), +(@NPC,30,-7052.397,1192.7838,0.55939066,100,0,0,0); +-- 0x20566000200B9A400000CE0002CECF84 .go xyz -7054.879 1170.2083 1.2795165 + +-- Pathing for Simone the Inconspicuous Entry: 14527 +SET @NPC := 24439; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-7134.7847,`position_y`=-630.74493,`position_z`=-267.8451 WHERE `guid`=@NPC; +-- Delete custom scripts +DELETE FROM `creature_movement_scripts` WHERE `id` IN (2443923, 2443929, 2443938, 2443950, 2443957, 2443965, 2443969, 2443972, 2443976, 2443987, 2443997, 57, 56, 55); +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-7134.7847,-630.74493,-267.8451,100,0,0,0), +(@NPC,2,-7112.881,-631.37476,-271.9652,100,0,0,0), +(@NPC,3,-7074.877,-605.41016,-270.40247,100,0,0,0), +(@NPC,4,-7054.3345,-620.15985,-271.85443,100,0,0,0), +(@NPC,5,-7021.897,-642.62115,-272.14703,100,0,0,0), +(@NPC,6,-7002.4976,-673.55975,-272.1954,100,0,0,0), +(@NPC,7,-6990.5757,-697.3798,-269.40195,100,0,0,0), +(@NPC,8,-6979.525,-745.5412,-266.0011,100,0,0,0), +(@NPC,9,-6988.725,-773.3251,-269.74628,100,0,0,0), +(@NPC,10,-7016.588,-807.87726,-271.55026,100,0,0,0), +(@NPC,11,-7059.4795,-813.66675,-271.31424,100,0,0,0), +(@NPC,12,-7071.4243,-846.7138,-272.17712,100,0,0,0), +(@NPC,13,-7087.3223,-863.11597,-272.22223,100,0,0,0), +(@NPC,14,-7112.989,-884.3573,-271.487,100,0,0,0), +(@NPC,15,-7150.9155,-892.54047,-270.9861,100,0,0,0), +(@NPC,16,-7178.579,-886.7773,-272.06827,100,0,0,0), +(@NPC,17,-7213.6143,-880.81396,-271.29465,100,0,0,0), +(@NPC,18,-7247.299,-904.3297,-272.20724,100,0,0,0), +(@NPC,19,-7288.475,-923.52765,-269.75653,100,0,0,0), +(@NPC,20,-7321.972,-926.8383,-270.41754,100,0,0,0), +(@NPC,21,-7355.6616,-955.1081,-271.3997,100,0,0,0), +(@NPC,22,-7375.4785,-987.541,-271.57358,100,0,0,0), +(@NPC,23,-7380.3325,-1001.1614,-271.4697,100,0,0,0), +(@NPC,24,-7385.1216,-1031.2078,-271.79517,100,0,0,0), +(@NPC,25,-7405.0635,-1054.3894,-270.45996,100,0,0,0), +(@NPC,26,-7439.9907,-1089.5543,-270.5445,100,0,0,0), +(@NPC,27,-7466.9673,-1125.9111,-271.58408,100,0,0,0), +(@NPC,28,-7495.1016,-1158.4141,-269.3605,100,0,0,0), +(@NPC,29,-7516.9517,-1177.9064,-271.45715,100,0,0,0), +(@NPC,30,-7513.4863,-1215.7516,-271.17224,100,0,0,0), +(@NPC,31,-7503.577,-1250.8982,-269.49353,100,0,0,0), +(@NPC,32,-7514.725,-1283.8434,-271.6494,100,0,0,0), +(@NPC,33,-7547.4697,-1312.8674,-271.2549,100,0,0,0), +(@NPC,34,-7567.815,-1341.8278,-271.96695,100,0,0,0), +(@NPC,35,-7602.6797,-1358.1893,-272.22223,100,0,0,0), +(@NPC,36,-7645.7256,-1381.2828,-269.64087,100,0,0,0), +(@NPC,37,-7675.2725,-1405.7223,-270.66724,100,0,0,0), +(@NPC,38,-7708.078,-1419.9424,-269.49112,100,0,0,0), +(@NPC,39,-7741.526,-1420.2039,-271.8899,100,0,0,0), +(@NPC,40,-7787.6704,-1425.8127,-270.825,100,0,0,0), +(@NPC,41,-7814.452,-1395.7693,-270.9296,100,0,0,0), +(@NPC,42,-7831.7734,-1374.3108,-272.02826,100,0,0,0), +(@NPC,43,-7858.1973,-1358.1388,-272.20828,100,0,0,0), +(@NPC,44,-7863.499,-1334.1305,-273.54282,100,0,0,0), +(@NPC,45,-7869.133,-1288.7773,-271.95776,100,0,0,0), +(@NPC,46,-7876.066,-1254.8944,-270.17163,100,0,0,0), +(@NPC,47,-7908.994,-1234.9504,-268.3065,100,0,0,0), +(@NPC,48,-7941.7363,-1239.0117,-271.51047,100,0,0,0), +(@NPC,49,-7988.922,-1240.2358,-268.93213,100,0,0,0), +(@NPC,50,-8010.9375,-1227.1108,-271.64957,100,0,0,0), +(@NPC,51,-8025.8813,-1189.5878,-271.59985,100,0,0,0), +(@NPC,52,-8015.186,-1152.5828,-269.59595,100,0,0,0), +(@NPC,53,-8012.1313,-1111.9603,-269.79248,100,0,0,0), +(@NPC,54,-8028.683,-1079.0793,-272.21252,100,0,0,0), +(@NPC,55,-8040.113,-1033.2528,-270.13815,100,0,0,0), +(@NPC,56,-8028.7397,-998.02606,-271.85883,100,0,0,0), +(@NPC,57,-8024.5713,-961.2599,-272.4614,100,0,0,0), +(@NPC,58,-8023.259,-928.99884,-271.51382,100,0,0,0), +(@NPC,59,-7997.297,-891.0057,-270.75293,100,0,0,0), +(@NPC,60,-7962.9575,-880.5515,-271.8003,100,0,0,0), +(@NPC,61,-7929.8647,-875.35187,-273.2356,100,0,0,0), +(@NPC,62,-7893.059,-872.51105,-269.62564,100,0,0,0), +(@NPC,63,-7858.724,-872.86163,-267.33008,100,0,0,0), +(@NPC,64,-7825.4307,-876.4685,-264.5992,100,0,0,0), +(@NPC,65,-7792.8794,-878.449,-267.81717,100,0,0,0), +(@NPC,66,-7756.059,-882.2704,-271.19907,100,0,0,0), +(@NPC,67,-7721.0957,-885.8583,-271.85938,100,0,0,0), +(@NPC,68,-7687.2944,-891.8414,-269.73077,100,0,0,0), +(@NPC,69,-7659.546,-899.9168,-270.932,100,0,0,0), +(@NPC,70,-7624.8525,-907.3125,-268.21014,100,0,0,0), +(@NPC,71,-7659.546,-899.9168,-270.932,100,0,0,0), +(@NPC,72,-7687.2944,-891.8414,-269.73077,100,0,0,0), +(@NPC,73,-7721.0957,-885.8583,-271.85938,100,0,0,0), +(@NPC,74,-7756.059,-882.2704,-271.19907,100,0,0,0), +(@NPC,75,-7792.842,-878.43945,-267.70602,100,0,0,0), +(@NPC,76,-7825.4307,-876.4685,-264.5992,100,0,0,0), +(@NPC,77,-7858.724,-872.86163,-267.33008,100,0,0,0), +(@NPC,78,-7893.059,-872.51105,-269.62564,100,0,0,0), +(@NPC,79,-7929.8647,-875.35187,-273.2356,100,0,0,0), +(@NPC,80,-7962.9575,-880.5515,-271.8003,100,0,0,0), +(@NPC,81,-7997.297,-891.0057,-270.75293,100,0,0,0), +(@NPC,82,-8023.2617,-929.00977,-271.4941,100,0,0,0), +(@NPC,83,-8024.5713,-961.2599,-272.4614,100,0,0,0), +(@NPC,84,-8028.7397,-998.02606,-271.85883,100,0,0,0), +(@NPC,85,-8040.113,-1033.2528,-270.13815,100,0,0,0), +(@NPC,86,-8028.683,-1079.0793,-272.21252,100,0,0,0), +(@NPC,87,-8012.1313,-1111.9603,-269.79248,100,0,0,0), +(@NPC,88,-8015.186,-1152.5828,-269.59595,100,0,0,0), +(@NPC,89,-8025.8813,-1189.5878,-271.59985,100,0,0,0), +(@NPC,90,-8010.9375,-1227.1108,-271.64957,100,0,0,0), +(@NPC,91,-7988.922,-1240.2358,-268.93213,100,0,0,0), +(@NPC,92,-7941.922,-1238.9512,-271.51047,100,0,0,0), +(@NPC,93,-7908.994,-1234.9504,-268.3065,100,0,0,0), +(@NPC,94,-7876.066,-1254.8944,-270.17163,100,0,0,0), +(@NPC,95,-7869.133,-1288.7773,-271.95776,100,0,0,0), +(@NPC,96,-7863.499,-1334.1305,-273.54282,100,0,0,0), +(@NPC,97,-7858.1973,-1358.1388,-272.20828,100,0,0,0), +(@NPC,98,-7831.7734,-1374.3108,-272.02826,100,0,0,0), +(@NPC,99,-7814.452,-1395.7693,-270.9296,100,0,0,0), +(@NPC,100,-7787.6704,-1425.8127,-270.825,100,0,0,0), +(@NPC,101,-7741.526,-1420.2039,-271.8899,100,0,0,0), +(@NPC,102,-7708.078,-1419.9424,-269.49112,100,0,0,0), +(@NPC,103,-7675.2725,-1405.7223,-270.66724,100,0,0,0), +(@NPC,104,-7645.7256,-1381.2828,-269.64087,100,0,0,0), +(@NPC,105,-7602.6797,-1358.1893,-272.22223,100,0,0,0), +(@NPC,106,-7567.815,-1341.8278,-271.96695,100,0,0,0), +(@NPC,107,-7547.4697,-1312.8674,-271.2549,100,0,0,0), +(@NPC,108,-7514.725,-1283.8434,-271.6494,100,0,0,0), +(@NPC,109,-7503.577,-1250.8982,-269.49353,100,0,0,0), +(@NPC,110,-7513.4863,-1215.7516,-271.17224,100,0,0,0), +(@NPC,111,-7516.9746,-1177.9004,-271.55573,100,0,0,0), +(@NPC,112,-7495.157,-1158.4603,-269.40604,100,0,0,0), +(@NPC,113,-7466.9673,-1125.9111,-271.58408,100,0,0,0), +(@NPC,114,-7439.9907,-1089.5543,-270.5445,100,0,0,0), +(@NPC,115,-7405.0635,-1054.3894,-270.45996,100,0,0,0), +(@NPC,116,-7385.1216,-1031.2078,-271.79517,100,0,0,0), +(@NPC,117,-7380.3325,-1001.1614,-271.4697,100,0,0,0), +(@NPC,118,-7375.56,-987.6084,-271.59164,100,0,0,0), +(@NPC,119,-7355.744,-955.1738,-271.38715,100,0,0,0), +(@NPC,120,-7321.972,-926.8383,-270.41754,100,0,0,0), +(@NPC,121,-7288.475,-923.52765,-269.75653,100,0,0,0), +(@NPC,122,-7247.299,-904.3297,-272.20724,100,0,0,0), +(@NPC,123,-7213.666,-880.8672,-271.34045,100,0,0,0), +(@NPC,124,-7178.579,-886.7773,-272.06827,100,0,0,0), +(@NPC,125,-7150.9155,-892.54047,-270.9861,100,0,0,0), +(@NPC,126,-7112.989,-884.3573,-271.487,100,0,0,0), +(@NPC,127,-7087.3223,-863.11597,-272.22223,100,0,0,0), +(@NPC,128,-7071.4243,-846.7138,-272.17712,100,0,0,0), +(@NPC,129,-7059.4795,-813.66675,-271.31424,100,0,0,0), +(@NPC,130,-7016.588,-807.87726,-271.55026,100,0,0,0), +(@NPC,131,-6988.725,-773.3251,-269.74628,100,0,0,0), +(@NPC,132,-6979.525,-745.5412,-266.0011,100,0,0,0), +(@NPC,133,-6990.5757,-697.3798,-269.40195,100,0,0,0), +(@NPC,134,-7002.4976,-673.55975,-272.1954,100,0,0,0), +(@NPC,135,-7021.897,-642.62115,-272.14703,100,0,0,0), +(@NPC,136,-7054.3345,-620.15985,-271.85443,100,0,0,0), +(@NPC,137,-7074.8813,-605.44464,-270.2986,100,0,0,0), +(@NPC,138,-7112.881,-631.37476,-271.9652,100,0,0,0); +-- 0x20566000200E2FC00000B500004ECF80 .go xyz -7134.7847 -630.74493 -267.8451 + +-- Pathing for Twilight Geolord Entry: 11881 +SET @NPC := 43042; +UPDATE `creature` SET `wander_distance`=0,`movement_type`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_movement_scripts` WHERE `id`=55; +INSERT INTO `creature_movement_scripts` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES +(55, 0, 0, 1, 69, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Twilight Use Emote'), +(55, 31, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Twilight Use Emote Cancel'); +DELETE FROM `creature_movement` WHERE `id`=@NPC; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES +(@NPC,1,-7046.875,1149.6351,6.258972,100,0,0,0), +(@NPC,2,-7046.875,1149.6351,6.258972,4.101523876190185546,30000,0,55), +(@NPC,3,-7039.751,1150.8881,6.2975,100,0,0,0), +(@NPC,4,-7039.751,1150.8881,6.2975,5.724679946899414062,30000,0,0); +-- 0x20566000200B9A400000CE0002CECF86 .go xyz -7046.875 1149.6351 6.258972 + + +-- End of migration. +END IF; +END?? +DELIMITER ; +CALL add_migration(); +DROP PROCEDURE IF EXISTS add_migration;