diff options
author | Killyana <morphone1@gmail.com> | 2015-09-05 19:19:59 +0200 |
---|---|---|
committer | MitchesD <majklprofik@seznam.cz> | 2015-10-24 19:13:24 +0200 |
commit | 85d4afd8834ca1be62691302cec204db64c714d1 (patch) | |
tree | 21dbba1c408bd09e49025d39829c62b8b7649abd | |
parent | 783e8299ccc8fc73522940b98c3982979a13bc31 (diff) |
DB/NPC: Add Lady Medley Crew
Closes #13911
(cherry picked from commit 053209562376d4f0eb9fdaf8c66cfe18d73a849c)
-rw-r--r-- | sql/updates/world/2015_10_24_00_world_2015_09_05_00.sql | 335 |
1 files changed, 335 insertions, 0 deletions
diff --git a/sql/updates/world/2015_10_24_00_world_2015_09_05_00.sql b/sql/updates/world/2015_10_24_00_world_2015_09_05_00.sql new file mode 100644 index 00000000000..a259ae99f23 --- /dev/null +++ b/sql/updates/world/2015_10_24_00_world_2015_09_05_00.sql @@ -0,0 +1,335 @@ +-- +SET @GUID := 52011; -- 11 FREE CGUID SET BY TC +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID + 10; +INSERT INTO `creature` (`guid`, `id`, `map`, `modelid`, `position_x`, `position_y`, `position_z`, `orientation`, `curhealth`) VALUES +(@GUID + 0, 24833, 584, 22659, 26.68381, 5.156456, 11.14973, 1.562181, 1474), -- Captain "Stash" Torgoley <The Lady Mehley> - 75958 +(@GUID + 1, 24834, 584, 22660, 17.73618, -7.963644, 6.181007, 1.658063, 1474), -- Galley Chief Grace <The Lady Mehley> - 75959 +(@GUID + 2, 24835, 584, 22661, 24.61499, 5.468628, 16.04766, 3.176499, 1358), -- First Mate Kowalski <The Lady Mehley> - 75960 +(@GUID + 3, 24836, 584, 262, -4.359131, 3.349854, 6.099176, 1.576669, 312), -- Abe the Cabin Boy <The Lady Mehley> - 75961 +(@GUID + 4, 24837, 584, 22662, 19.20459, -7.213135, 6.097228, 3.667171, 867), -- Navigator Mehran <The Lady Mehley> - 75962 +(@GUID + 5, 24838, 584, 22663, -27.50586, -3.588379, 21.17929, 2.405203, 804), -- Sailor Henders <The Lady Mehley> - 75963 +(@GUID + 6, 24839, 584, 22664, 6.123779, 10.77246, 11.47038, 1.539951, 804), -- Sailor Wicks <The Lady Mehley> - 75964 +(@GUID + 7, 24840, 584, 22665, 28.74146, 6.708008, 6.096051, 1.087228, 804), -- Sailor Vines <The Lady Mehley> - 75965 +(@GUID + 8, 24841, 584, 1858, -9.322998, -1.669921, 6.09808, 0.01745319, 10236), -- Marine Halters - 75966 +(@GUID + 9, 24842, 584, 22666, 14.44629, 0.1442871, 12.0214, 3.309605, 10236), -- Marine Anderson - 75967 +(@GUID + 10, 24843, 584, 22667, 6.350558, 8.718207, 6.180843, 5.427974, 928); -- Engineer Combs <The Lady Mehley> - 75968 + +-- Pathing for Entry: 24833 'TDB FORMAT' +SET @NPC := @GUID; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=37.03026,`position_y`=4.622362,`position_z`=6.176411, `orientation`=1.00 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,1,1,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,37.03026,4.622362,6.176411,1.00,35000,0,0,100,0), +(@PATH,2,33.79711,3.379296,6.136233,0,0,0,0,100,0), +(@PATH,3,30.11437,1.977602,6.346729,0,0,0,0,100,0), +(@PATH,4,28.86437,2.977602,6.346729,0,0,0,0,100,0), +(@PATH,5,26.34205,5.299405,6.347331,0,0,0,0,100,0), +(@PATH,6,23.84205,5.299405,6.347331,0,0,0,0,100,0), +(@PATH,7,17.09205,5.049405,6.347331,0,0,0,0,100,0), +(@PATH,8,10.25663,4.995337,6.348217,0,0,0,0,100,0), +(@PATH,9,7.917565,0.5690584,6.348763,0,0,0,0,100,0), +(@PATH,10,8.917565,-0.9309416,6.348763,0,0,0,0,100,0), +(@PATH,11,11.10869,-4.599314,6.348672,0,0,0,0,100,0), +(@PATH,12,18.60869,-4.849314,6.348672,0,0,0,0,100,0), +(@PATH,13,24.60869,-5.099314,6.348672,0,0,0,0,100,0), +(@PATH,14,26.69126,-5.140297,6.623405,0,0,0,0,100,0), +(@PATH,15,26.69126,-3.640297,6.623405,0,0,0,0,100,0), +(@PATH,16,26.69126,3.859703,11.3734,0,0,0,0,100,0), +(@PATH,17,26.56619,3.997062,11.49595,0,0,0,0,100,0), +(@PATH,18,26.56619,5.497062,11.49595,0,0,0,0,100,0), +(@PATH,19,24.06619,5.497062,11.49595,0,0,0,0,100,0), +(@PATH,20,22.81619,5.497062,11.99595,0,0,0,0,100,0), +(@PATH,21,21.56619,5.497062,12.24595,0,0,0,0,100,0), +(@PATH,22,5.473877,5.844482,11.85669,0,25000,0,0,100,0), +(@PATH,23,7.723877,-1.405518,11.85669,0,0,0,0,100,0), +(@PATH,24,10.47388,-6.155518,11.85669,0,0,0,0,100,0), +(@PATH,25,10.43553,-5.953337,11.88334,0,0,0,0,100,0), +(@PATH,26,10.93553,-6.953337,11.88334,0,0,0,0,100,0), +(@PATH,27,5.371088,-7.016384,11.77661,0,0,0,0,100,0), +(@PATH,28,2.413238,-4.390701,11.56228,0,0,0,0,100,0), +(@PATH,29,1.163238,-4.390701,11.31228,0,0,0,0,100,0), +(@PATH,30,-3.086762,-5.140701,6.562281,0,0,0,0,100,0); +-- 0x1C15A0002018404000004000006049B5 .go 37.03026 4.622362 6.176411 + +-- Pathing for Entry: 24835 'TDB FORMAT' +SET @NPC := @GUID + 2; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=24.61543,`position_y`=5.468647,`position_z`=16.12396 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,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,24.61543,5.468647,16.12396,3.246287,0,0,0,100,0), +(@PATH,2,24.59153,3.553659,16.31282,0,0,0,0,100,0), +(@PATH,3,24.59153,0.05365944,16.31282,0,0,0,0,100,0), +(@PATH,4,24.59153,-3.446341,16.06282,0,0,0,0,100,0), +(@PATH,5,24.57548,-5.133168,16.0891,0,0,0,0,100,0), +(@PATH,6,23.32548,-5.383168,16.0891,0,0,0,0,100,0), +(@PATH,7,20.07548,-5.883168,12.5891,0,0,0,0,100,0), +(@PATH,8,19.97622,-5.8692,12.62369,0,0,0,0,100,0), +(@PATH,9,19.22622,-5.8692,12.62369,0,0,0,0,100,0), +(@PATH,10,18.97622,-4.6192,12.62369,0,0,0,0,100,0), +(@PATH,11,17.54005,-0.2464206,12.32892,0,0,0,0,100,0), +(@PATH,12,18.04005,3.753579,12.32892,0,0,0,0,100,0), +(@PATH,13,18.07397,3.926754,12.37037,0,0,0,0,100,0), +(@PATH,14,18.32397,5.676754,12.12037,0,0,0,0,100,0), +(@PATH,15,20.28442,3.827637,12.37757,0,0,0,0,100,0), +(@PATH,16,19.53442,-0.1723633,12.37757,0,0,0,0,100,0), +(@PATH,17,19.03442,-4.672363,12.12757,0,0,0,0,100,0), +(@PATH,18,18.88482,-4.669163,12.44052,0,0,0,0,100,0), +(@PATH,19,18.88482,-5.669163,12.44052,0,0,0,0,100,0), +(@PATH,20,20.13482,-5.669163,12.69052,0,0,0,0,100,0), +(@PATH,21,23.13482,-5.169163,15.94052,0,0,0,0,100,0), +(@PATH,22,25.75478,-4.782483,16.3373,0,0,0,0,100,0), +(@PATH,23,25.75478,-3.282483,16.3373,0,0,0,0,100,0), +(@PATH,24,26.00478,-0.03248262,16.5873,0,0,0,0,100,0), +(@PATH,25,26.25478,3.467517,16.5873,0,0,0,0,100,0), +(@PATH,26,24.61548,5.46875,16.04771,0,0,0,0,100,0), +(@PATH,27,24.61548,5.46875,16.04771,3.176499,80000,0,0,100,0); +-- 0x1C15A000201840C000004000006048CF .go 24.61543 5.468647 16.12396 + +-- Pathing for Entry: 24836 'TDB FORMAT' +SET @NPC := @GUID + 3; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2.233398,`position_y`=2.553833,`position_z`=6.099016 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,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,-2.233398,2.553833,6.099016,0,0,0,0,100,0), +(@PATH,2,-2.233398,2.553833,6.099016,2.059489,0,0,0,100,0), +(@PATH,3,1.698853,3.417053,6.348891,0,0,0,0,100,0), +(@PATH,4,3.448853,4.167053,6.348891,0,0,0,0,100,0), +(@PATH,5,7.448853,-0.5829468,6.348891,0,0,0,0,100,0), +(@PATH,6,9.774704,-2.902952,6.349678,0,0,0,0,100,0), +(@PATH,7,9.800768,-3.249776,6.348591,0,0,0,0,100,0), +(@PATH,8,13.55077,-3.999776,6.348591,0,0,0,0,100,0), +(@PATH,9,18.30077,-4.749776,6.348591,0,0,0,0,100,0), +(@PATH,10,20.13506,-5.121357,6.347137,0,0,0,0,100,0), +(@PATH,11,24.38506,-5.371357,6.347137,0,0,0,0,100,0), +(@PATH,12,24.58777,-5.452598,6.623333,0,0,0,0,100,0), +(@PATH,13,26.83777,-5.702598,6.623333,0,0,0,0,100,0), +(@PATH,14,26.58777,-3.452598,6.623333,0,0,0,0,100,0), +(@PATH,15,26.58777,3.797402,11.37333,0,0,0,0,100,0), +(@PATH,16,26.85096,4.066658,11.19734,0,0,0,0,100,0), +(@PATH,17,26.85096,5.566658,11.19734,0,0,0,0,100,0), +(@PATH,18,26.86504,5.718296,11.3996,0,0,0,0,100,0), +(@PATH,19,30.61504,5.718296,11.3996,0,0,0,0,100,0), +(@PATH,20,30.61504,3.718296,11.3996,0,0,0,0,100,0), +(@PATH,21,29.54675,3.707764,11.3996,0,0,0,0,100,0), +(@PATH,22,28.29675,4.207764,11.3996,0,0,0,0,100,0), +(@PATH,23,24.39871,5.605234,11.61975,0,0,0,0,100,0), +(@PATH,24,23.39871,5.605234,11.61975,0,0,0,0,100,0), +(@PATH,25,22.14871,5.605234,12.11975,0,0,0,0,100,0), +(@PATH,26,21.82304,5.810547,12.27328,0,0,0,0,100,0), +(@PATH,27,20.07304,5.810547,12.27328,0,0,0,0,100,0), +(@PATH,28,17.32304,3.810547,12.27328,0,0,0,0,100,0), +(@PATH,29,17.06653,3.683082,12.10866,0,0,0,0,100,0), +(@PATH,30,14.56653,1.933082,12.10866,0,0,0,0,100,0), +(@PATH,31,13.06653,-1.066918,12.10866,0,0,0,0,100,0), +(@PATH,32,9.639757,-6.127687,11.82736,0,0,0,0,100,0), +(@PATH,33,3.298409,-6.022044,11.54611,0,0,0,0,100,0), +(@PATH,34,2.798409,-4.272044,11.54611,0,0,0,0,100,0), +(@PATH,35,1.048409,-4.522044,11.29611,0,0,0,0,100,0), +(@PATH,36,-2.951591,-5.022044,6.546112,0,0,0,0,100,0), +(@PATH,37,-4.002031,-4.848095,6.186443,0,0,0,0,100,0), +(@PATH,38,-4.002031,-0.0980947,6.186443,0,0,0,0,100,0), +(@PATH,39,-2.233643,2.553955,6.099016,0,0,0,0,100,0); +-- 0x1C15A0000018410000002F0000604858 .go -2.233398 2.553833 6.099016 + +-- Pathing for Entry: 24837 'TDB FORMAT' +SET @NPC := @GUID + 4; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=21.28821,`position_y`=-6.498474,`position_z`=6.346781 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,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,21.28821,-6.498474,6.346781,0,0,0,0,100,0), +(@PATH,2,24.28821,-6.248474,6.346781,0,0,0,0,100,0), +(@PATH,3,24.5675,-5.887867,6.623326,0,0,0,0,100,0), +(@PATH,4,26.3175,-5.637867,6.623326,0,0,0,0,100,0), +(@PATH,5,26.5675,-3.637867,6.623326,0,0,0,0,100,0), +(@PATH,6,26.8175,3.862133,11.37333,0,0,0,0,100,0), +(@PATH,7,27.0207,5.456285,11.61129,0,0,0,0,100,0), +(@PATH,8,24.0207,5.456285,11.61129,0,0,0,0,100,0), +(@PATH,9,22.7707,5.706285,11.86129,0,0,0,0,100,0), +(@PATH,10,21.5207,5.706285,12.36129,0,0,0,0,100,0), +(@PATH,11,21.19737,5.743245,12.28643,0,0,0,0,100,0), +(@PATH,12,19.69737,5.743245,12.28643,0,0,0,0,100,0), +(@PATH,13,18.44737,3.743245,12.28643,0,0,0,0,100,0), +(@PATH,14,16.32088,0.3530575,12.37261,0,0,0,0,100,0), +(@PATH,15,18.57088,-4.646943,12.37261,0,0,0,0,100,0), +(@PATH,16,18.82599,-4.72204,12.55197,0,0,0,0,100,0), +(@PATH,17,19.32599,-5.72204,12.55197,0,0,0,0,100,0), +(@PATH,18,23.32599,-5.22204,16.05197,0,0,0,0,100,0), +(@PATH,19,24.89713,-4.957284,16.51354,0,0,0,0,100,0), +(@PATH,20,27.89713,-4.707284,17.01354,0,0,0,0,100,0), +(@PATH,21,35.14713,-3.957284,18.26354,0,0,0,0,100,0), +(@PATH,22,35.03859,-3.71197,18.26312,0,0,0,0,100,0), +(@PATH,23,35.53859,-3.71197,18.51312,0,0,0,0,100,0), +(@PATH,24,36.03859,-2.71197,18.51312,0,0,0,0,100,0), +(@PATH,25,36.78859,-1.21197,18.51312,0,0,0,0,100,0), +(@PATH,26,36.83167,-1.03315,18.61353,0,0,0,0,100,0), +(@PATH,27,37.33167,-0.0331502,18.61353,0,0,0,0,100,0), +(@PATH,28,35.83167,-0.0331502,18.36353,0,0,0,0,100,0), +(@PATH,29,33.81982,0.05114746,18.28621,0,80000,0,0,100,0); +-- 0x1C15A0000018414000002F0000604858 .go 21.28821 -6.498474 6.346781 + +-- Pathing for Entry: 24838 'TDB FORMAT' +SET @NPC := @GUID + 5; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-27.21704,`position_y`=-0.001220703,`position_z`=21.58302 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,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,-27.21704,-0.001220703,21.58302,3.141593,15000,0,0,100,0), +(@PATH,2,-26.7854,3.492676,21.49658,0,0,0,0,100,0), +(@PATH,3,-27.21509,0.02246094,21.582,0,0,0,0,100,0), +(@PATH,4,-27.21509,0.02246094,21.582,3.141593,15000,0,0,100,0), +(@PATH,5,-27.31982,-3.39917,21.29024,0,0,0,0,100,0), +(@PATH,6,-23.06238,-6.165868,20.58522,0,0,0,0,100,0); +-- 0x1C15A0000018418000002F0000604859 .go -27.21704 -0.001220703 21.58302 + +-- Pathing for Entry: 24839 'TDB FORMAT' +SET @NPC := @GUID + 6; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=9.595876,`position_y`=-1.214922,`position_z`=11.80095 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,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,9.595876,-1.214922,11.80095,0,10000,0,0,100,0), +(@PATH,2,10.84588,3.285078,12.05095,0,0,0,0,100,0), +(@PATH,3,10.78306,3.165822,11.99681,0,0,0,0,100,0), +(@PATH,4,11.03306,4.415822,11.99681,0,0,0,0,100,0), +(@PATH,5,9.130737,-1.28125,11.96241,0,0,0,0,100,0), +(@PATH,6,9.877741,-6.322785,11.91132,0,0,0,0,100,0), +(@PATH,7,6.444749,-7.275679,11.82178,0,0,0,0,100,0), +(@PATH,8,6.444749,-9.525679,11.57178,0,0,0,0,100,0), +(@PATH,9,7.006714,-9.58252,11.59527,0,0,0,0,100,0), +(@PATH,10,8.256714,-8.08252,11.84527,0,10000,0,0,100,0), +(@PATH,11,9.506714,-6.58252,11.84527,0,0,0,0,100,0), +(@PATH,12,9.757862,-6.227444,12.01764,0,0,0,0,100,0), +(@PATH,13,10.25786,-5.227444,11.76764,0,0,0,0,100,0), +(@PATH,14,11.50786,-1.227444,12.01764,0,0,0,0,100,0), +(@PATH,15,10.53357,-1.442627,12.06874,0,0,0,0,100,0), +(@PATH,16,9.107422,-2.769531,11.71875,3.385939,10000,0,0,100,0), +(@PATH,17,9.595581,-1.214111,11.99324,0,0,0,0,100,0), +(@PATH,18,10.84558,3.285889,11.99324,0,0,0,0,100,0), +(@PATH,19,10.78296,3.167067,11.99682,0,0,0,0,100,0), +(@PATH,20,11.03296,4.417067,11.99682,0,10000,0,0,100,0); +-- 0x1C15A000201841C000004000006049B5 .go 9.595876 -1.214922 11.80095 + +-- Pathing for Entry: 24840 'TDB FORMAT' +SET @NPC := @GUID + 7; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-12.18092,`position_y`=5.488965,`position_z`=6.140242 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,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,-12.18092,5.488965,6.140242,0,0,0,0,100,0), +(@PATH,2,-11.93092,4.238965,6.140242,0,0,0,0,100,0), +(@PATH,3,1.66333,3.382568,6.347836,0,0,0,0,100,0), +(@PATH,4,3.41333,4.132568,6.347836,0,0,0,0,100,0), +(@PATH,5,16.41333,5.132568,6.347836,0,0,0,0,100,0), +(@PATH,6,23.91333,5.632568,6.347836,0,0,0,0,100,0), +(@PATH,7,27.02629,5.782645,6.348631,0,0,0,0,100,0), +(@PATH,8,28.7417,6.706543,6.096051,0,0,0,0,100,0), +(@PATH,9,23.86475,6.410645,6.347143,0,0,0,0,100,0), +(@PATH,10,18.36475,6.160645,6.347143,0,0,0,0,100,0), +(@PATH,11,16.61475,5.910645,6.347143,0,0,0,0,100,0), +(@PATH,12,15.36475,5.910645,6.347143,0,0,0,0,100,0), +(@PATH,13,3.364746,5.410645,6.347143,0,0,0,0,100,0), +(@PATH,14,3.131845,5.415648,6.349216,0,0,0,0,100,0), +(@PATH,15,1.881845,5.415648,6.349216,0,0,0,0,100,0), +(@PATH,16,-8.868155,6.665648,6.349216,0,0,0,0,100,0), +(@PATH,17,-9.868155,6.915648,6.349216,0,0,0,0,100,0), +(@PATH,18,-12.56714,7.07666,6.098746,0,0,0,0,100,0), +(@PATH,19,-12.56714,7.07666,6.098746,3.525565,0,0,0,100,0), +(@PATH,20,-12.18091,5.489014,6.348577,0,0,0,0,100,0), +(@PATH,21,-11.93091,4.239014,6.348577,0,0,0,0,100,0), +(@PATH,22,1.663208,3.382813,6.347836,0,0,0,0,100,0), +(@PATH,23,3.413208,4.132813,6.347836,0,0,0,0,100,0), +(@PATH,24,16.41321,5.132813,6.347836,0,0,0,0,100,0), +(@PATH,25,23.91321,5.632813,6.347836,0,0,0,0,100,0); +-- 0x1C15A0002018420000004000006049B5 .go -12.18092 5.488965 6.140242 + +-- Pathing for Entry: 24842 'TDB FORMAT' +SET @NPC := @GUID + 9; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=20.11769,`position_y`=-6.318613,`position_z`=6.388871 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,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,20.11769,-6.318613,6.388871,0,0,0,0,100,0), +(@PATH,2,24.36769,-6.068613,6.138871,0,0,0,0,100,0), +(@PATH,3,26.54725,-5.752126,6.622897,0,0,0,0,100,0), +(@PATH,4,26.54725,-3.502126,6.622897,0,0,0,0,100,0), +(@PATH,5,26.79725,3.747874,11.3729,0,0,0,0,100,0), +(@PATH,6,26.79725,5.497874,11.3729,0,0,0,0,100,0), +(@PATH,7,26.84597,3.878396,11.42881,0,0,0,0,100,0), +(@PATH,8,26.84597,5.378396,11.42881,0,0,0,0,100,0), +(@PATH,9,26.84597,6.128396,11.42881,0,0,0,0,100,0), +(@PATH,10,24.09597,5.878396,11.42881,0,0,0,0,100,0), +(@PATH,11,22.59597,5.878396,11.92881,0,0,0,0,100,0), +(@PATH,12,21.59597,5.878396,12.42881,0,0,0,0,100,0), +(@PATH,13,21.2122,5.86385,12.2945,0,0,0,0,100,0), +(@PATH,14,18.7122,5.61385,12.2945,0,0,0,0,100,0), +(@PATH,15,17.7122,3.61385,12.2945,0,0,0,0,100,0), +(@PATH,16,14.01855,0.09912109,12.00374,0,0,0,0,100,0), +(@PATH,17,15.29224,0.3544922,12.05542,0,0,0,0,100,0), +(@PATH,18,14.146,0.02685547,12.00965,0,0,0,0,100,0), +(@PATH,19,20.63428,3.088379,12.32969,0,0,0,0,100,0), +(@PATH,20,21.63428,4.088379,12.07969,0,0,0,0,100,0), +(@PATH,21,23.38428,4.838379,11.57969,0,0,0,0,100,0), +(@PATH,22,26.57771,5.543217,11.23778,0,0,0,0,100,0), +(@PATH,23,26.57771,3.793216,11.23778,0,0,0,0,100,0), +(@PATH,24,26.32771,-3.456784,6.487778,0,0,0,0,100,0), +(@PATH,25,26.43777,-3.82635,6.296148,0,0,0,0,100,0), +(@PATH,26,26.43777,-5.32635,6.296148,0,0,0,0,100,0), +(@PATH,27,24.43777,-5.32635,6.296148,0,0,0,0,100,0), +(@PATH,28,19.93777,-5.57635,6.296148,0,0,0,0,100,0), +(@PATH,29,6.767334,-6.272217,6.347435,0,0,0,0,100,0), +(@PATH,30,6.116943,-6.608887,6.097135,2.286381,10000,0,0,100,0); +-- 0x1C15A0002018428000004000006049B5 .go 20.11769 -6.318613 6.388871 + +SET @Sailor := 24838; +SET @Kowalski := 24835; +SET @Mehran := 24837; +SET @Stash := 24833; +-- Add text +DELETE FROM `creature_text` WHERE `entry` IN (@Sailor, @Kowalski, @Mehran, @Stash); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(@Sailor, 0, 0, 'Land ho, Mr. Kowalski! Port is in sight, sir!', 12, 7, 100, 0, 0, 0, 'Sailor Henders', 23941), +(@Kowalski, 0, 0, 'Thank you, Mr. Henders.', 12, 7, 100, 0, 0, 0, 'First Mate Kowalski', 23942), +(@Kowalski, 1, 0, 'Bring us into port, please, Mr. Mehran.', 12, 7, 100, 0, 0, 0, 'First Mate Kowalski', 23943), +(@Mehran, 0, 0, 'Aye aye, Mr. Kowalski.', 12, 0, 100, 0, 0, 0, 'Navigator Mehran', 23951), +(@Kowalski, 2, 0, 'Captain Stash! We''ll be arriving shortly, sir!', 12, 7, 100, 0, 0, 0, 'First Mate Kowalski', 23944), +(@Stash, 0, 0, 'Thank you, Mr. Kowalski! You may return to your post to oversee docking!', 12, 7, 100, 0, 0, 0, 'Captain "Stash" Torgoley', 23945), +(@Stash, 1, 0, 'Well done, all. Please bring us safely to our next port. ', 12, 7, 100, 0, 0, 0, 'Captain "Stash" Torgoley', 23946); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@Sailor, @Kowalski, @Mehran, @Stash); +DELETE FROM `smart_scripts` WHERE `entryorguid`=@Sailor AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@Stash AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@Kowalski AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@Stash*100 AND `source_type`=9; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@Kowalski*100 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@Sailor,0,0,0,25,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sailor - on reset - Say Line 0"), +(@Stash,0,0,0,25,0,100,0,0,0,0,0,80,@Stash*100,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stash - on reset - action list"), +(@Stash*100,9,0,0,0,0,100,0,36000,36000,0,0,91,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stash - action list - Stand up"), +(@Stash*100,9,1,0,0,0,100,0,49000,49000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stash - action list - Say Line 1"), +(@Stash*100,9,2,0,0,0,100,0,0,0,0,0,5,21,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stash - action list - Play emote applaud"), +(@Kowalski,0,0,0,25,0,100,0,0,0,0,0,80,@Kowalski*100,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kowalski - On reset - Action list"), +(@Kowalski*100,9,0,0,0,0,100,0,4000,4000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kowalski- ooc los - Say Line 0"), +(@Kowalski*100,9,1,0,0,0,100,0,3000,3000,0,0,1,1,0,0,0,0,0,1,0,40,0,0,0,0,0,"Kowalski - ooc los - Say Line 1"), +(@Kowalski*100,9,2,0,0,0,100,0,3000,3000,0,0,1,0,0,0,0,0,0,19,@Mehran,40,0,0,0,0,0,"Kowalski- ooc los - Say Line 0"), +(@Kowalski*100,9,3,0,0,0,100,0,3000,3000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kowalski - ooc los - Say Line 2"), +(@Kowalski*100,9,4,0,0,0,100,0,4000,4000,0,0,1,0,0,0,0,0,0,19,@Stash,40,0,0,0,0,0,"Kowalski - ooc los - Say Line 0"); |