diff --git a/data/sql/updates/pending_db_world/rev_1675895905789106400.sql b/data/sql/updates/pending_db_world/rev_1675895905789106400.sql new file mode 100644 index 000000000..2b824e68d --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1675895905789106400.sql @@ -0,0 +1,1438 @@ +-- Cleanup +DELETE FROM `creature` WHERE `id1` IN (17975,17976,17977,17978,17980,17993,17994,18155,18404,18405,18419,18420,18421,18422,18587,18721,19486,19505,19507,19508,19509,19511,19512,19513,19557,19598,19608,19633,19843,19865) AND `map`=553 AND `guid` IN (40252,82977,82978,82979,82980,82981,82982,82983,82984,82985,82986,82987,82988,82989,82990,82991,82992,82993,82994,82995,82996,82997,82998,82999,83000,83001,83002,83003,83004,83005,83006,83007,83008,83009,83010,83011,83012,83013,83014,83015,83016,83017,83018,83019,83020,83021,83024,83025,83028,83029,83030,83031,83032,83033,83034,83035,83036,83037,83038,83039,83040,83041,83042,83043,83044,83045,83046,83047,83048,83049,83050,83051,83052,83053,83054,83055,83056,83057,83058,83059,83060,83061,83062,83063,83064,83065,83066,83067,83068,83069,83070,83071,83072,83073,83074,83075,83076,83077,83078,83079,83080,83081,83082,83083,83084,83085,83086,83087,83088,83089,83090,83091,83092,83093,83094,83095,83096,83097,83098,83099,83100,83101,83102,83103,83104,83105,83106,83107,83108,83109,83110,83111,83112,83113,83114,83115,83116,83117,83118,83119,83120,83121,83122,83123,83124,83125,83126,83127,83128,83129,83130,83131,83132,83133,83134,83135,83136,83137,83138,83139,83140,83141,83142,83143,83144,83145,83146,83147,83148,83149,83150,83151,83152,83153,83154,83155,83156,83157,83158,83159,1971524,1971525,1971526,1971527,1971528,1971529,1971530,1971531,1971532,1971533,1971534,1971535,1971536,1971537,1971538,1971539,1971540,1971541); +DELETE FROM `creature_addon` WHERE `guid` IN (40252,82977,82978,82979,82980,82981,82982,82983,82984,82985,82986,82987,82988,82989,82990,82991,82992,82993,82994,82995,82996,82997,82998,82999,83000,83001,83002,83003,83004,83005,83006,83007,83008,83009,83010,83011,83012,83013,83014,83015,83016,83017,83018,83019,83020,83021,83024,83025,83028,83029,83030,83031,83032,83033,83034,83035,83036,83037,83038,83039,83040,83041,83042,83043,83044,83045,83046,83047,83048,83049,83050,83051,83052,83053,83054,83055,83056,83057,83058,83059,83060,83061,83062,83063,83064,83065,83066,83067,83068,83069,83070,83071,83072,83073,83074,83075,83076,83077,83078,83079,83080,83081,83082,83083,83084,83085,83086,83087,83088,83089,83090,83091,83092,83093,83094,83095,83096,83097,83098,83099,83100,83101,83102,83103,83104,83105,83106,83107,83108,83109,83110,83111,83112,83113,83114,83115,83116,83117,83118,83119,83120,83121,83122,83123,83124,83125,83126,83127,83128,83129,83130,83131,83132,83133,83134,83135,83136,83137,83138,83139,83140,83141,83142,83143,83144,83145,83146,83147,83148,83149,83150,83151,83152,83153,83154,83155,83156,83157,83158,83159,1971524,1971525,1971526,1971527,1971528,1971529,1971530,1971531,1971532,1971533,1971534,1971535,1971536,1971537,1971538,1971539,1971540,1971541); +-- Delete now unused script +DELETE FROM `waypoint_scripts` WHERE `id`=49 AND `guid`=68; +-- Delete old waypoints +DELETE FROM `waypoint_data` WHERE `id` IN (402520,829770,829810,829830,829860,829870,829920,829930,829940,830030,830070,830080,830090,830100,830170,830300,830520,830720,830730,830860,830870,831570); +-- Delete guid SAI +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (-83035, -83056, -83066, -83067); +-- Delete linked_respawn +DELETE FROM `linked_respawn` WHERE `linkedguid` IN (82986,83076,82987,82989,82990) AND `guid` IN (82977,82978,82979,82980,82981,82982,82983,82984,82985,82988,82991,82992,82993,82994,82995,82996,82997,82998,82999,83000,83001,83002,83003,83004,83005,83006,83007,83008,83009,83010,83011,83012,83013,83014,83015,83016,83017,83018,83019,83020,83021,83024,83025,83028,83029,83030,83031,83032,83033,83034,83035,83036,83037,83038,83039,83040,83041,83042,83043,83044,83045,83046,83047,83048,83049,83050,83051,83052,83053,83054,83055,83056,83057,83058,83059,83060,83061,83062,83063,83064,83065,83066,83067,83068,83069,83070,83071,83072,83073,83074,83075,83077,83078,83079,83080,83081,83082,83083,83084,83085,83086,83087,83088,83089,83090,83091,83092,83093,83094,83095,83096,83097,83098,83099,83100,83101,83102,83103,83104,83105,83106,83107,83108,83109,83110,83111,83112,83113,83114,83115,83116,83117,83118,83119,83120,83121,83122,83123,83124,83125,83126,83127,83128,83129,83130,83131,83132,83133,83134,83135,83136,83137,83138,83139,83140,83141,83142,83143,83144,83145,83146,83147,83148,83149,83150,83151,83152,83153,83154,83155,83156,83157,83158,83159); +-- Delete old condition +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=34156 AND `SourceId`=0 AND `ElseGroup`=0 AND `ConditionTypeOrReference`=31 AND `ConditionTarget`=0 AND `ConditionValue1`=3 AND `ConditionValue2`=18721 AND `ConditionValue3`=0; + +-- Adds all creatures +SET @CGUID := 147000; + +DELETE FROM `creature` WHERE `map`=553 AND `id1` IN (17975,17976,17977,17978,17980,17993,17994,18155,18404,18405,18419,18420,18421,18422,18587,19486,19505,19507,19508,19509,19511,19512,19513,19555,19557,19598,19608,19633,19843,19865) AND `guid` BETWEEN @CGUID+0 AND @CGUID+187; +INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `curhealth`, `curmana`, `currentwaypoint`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES +(@CGUID+0 , 17975, 0, 0, 553, 3847, 3847, 3, 1, 0, 116.326, 455.57, -4.9414, 3.38594, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+1 , 17976, 0, 0, 553, 3847, 3847, 3, 1, 1, 149.329, 297.64, -4.45642, 2.35736, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+2 , 17977, 0, 0, 553, 3847, 3847, 3, 1, 0, 63.8407, 391.882, -27.8938, 3.21141, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+3 , 17978, 0, 0, 553, 3847, 3847, 3, 1, 0, 4.9486, 596.578, -15.0783, 4.69494, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+4 , 17980, 0, 0, 553, 3847, 3847, 3, 1, 0, -204.125, 391.249, -11.1943, 0.0174533, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+5 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 75.0124, 283.882, -5.39203, 1.76278, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+6 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 32.7476, 292.832, -5.56217, 5.32325, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+7 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 75.302, 292.336, -5.38124, 4.95674, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+8 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 151.661, 281.789, -4.33475, 1.8326, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+9 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 153.757, 281.744, -4.0086, 1.8326, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+10 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 161.403, 285.599, -3.09818, 2.68781, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+11 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 163.108, 287.899, -3.3132, 2.23402, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+12 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 164.969, 292.952, -4.00805, 2.84489, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+13 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 165.165, 295.535, -4.37166, 3.15905, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+14 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, -161.206, 391.88, -17.6449, 1.95477, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+15 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, -166.664, 391.763, -17.6139, 1.32645, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+16 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, -157.669, 471.719, -17.7416, 1.76278, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+17 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, -164.989, 473.034, -17.7416, 1.5708, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+18 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 32.3466, 283.21, -5.56045, 1.8326, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+19 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 2.69318, 59.1548, -5.60355, 3.14169, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+20 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 6.78807, 151.432, -5.45704, 5.51524, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+21 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, -6.33425, 59.407, -5.55881, 0.030197, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+22 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 8.47522, 99.6128, -5.55404, 2.61651, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+23 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, -8.16851, 101.299, -5.53842, 0.524085, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+24 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, -8.37349, 150.827, -5.45702, 0.191986, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +-- (@CGUID+25 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 6.90713, 230.813, -5.45704, 3.45575, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +-- (@CGUID+26 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, -8.30962, 231.934, -5.45701, 0.349066, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+25 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, 6.880586, 213.50626, -5.5403757, 4.729842185974121093, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+26 , 17993, 0, 0, 553, 3847, 3847, 3, 1, 1, -7.061299, 213.17163, -5.54035, 4.729842185974121093, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+27 , 17994, 0, 0, 553, 3847, 3847, 3, 1, 1, -35.5817, 287.674, -1.76399, 5.65487, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+28 , 17994, 0, 0, 553, 3847, 3847, 3, 1, 1, 102.214, 287.182, -6.71081, 5.04669, 86400, 2, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+29 , 18155, 0, 0, 553, 3847, 3847, 3, 1, 0, -27.6921, 289.047, -1.84732, 3.65739, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+30 , 18155, 0, 0, 553, 3847, 3847, 3, 1, 0, 100.543, 280.201, -6.79088, 2.39325, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+31 , 18155, 0, 0, 553, 3847, 3847, 3, 1, 0, -36.5632, 293.421, -1.76399, 4.00287, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+32 , 18155, 0, 0, 553, 3847, 3847, 3, 1, 0, 109.553, 279.506, -6.83397, 4.41568, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+33 , 18155, 0, 0, 553, 3847, 3847, 3, 1, 0, 99.7353, 294.242, -6.62196, 4.53898, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+34 , 18155, 0, 0, 553, 3847, 3847, 3, 1, 0, -37.1861, 282.761, -1.84732, 2.96967, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+35 , 18404, 0, 0, 553, 3847, 3847, 3, 1, 1, 76.7734, 282.637, -5.33021, 1.81514, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+36 , 18404, 0, 0, 553, 3847, 3847, 3, 1, 1, 149.565, 281.787, -4.65385, 1.48353, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+37 , 18404, 0, 0, 553, 3847, 3847, 3, 1, 1, 159.136, 283.813, -3.27211, 2.3911, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+38 , 18404, 0, 0, 553, 3847, 3847, 3, 1, 1, 165.194, 298.208, -4.77445, 2.96706, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+39 , 18405, 0, 0, 553, 3847, 3847, 3, 1, 0, -11.2885, 288.159, -0.21232, 0.0174371, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+40 , 18405, 0, 0, 553, 3847, 3847, 3, 1, 0, -15.7445, 180.821, -5.48012, 4.69594, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+41 , 18405, 0, 0, 553, 3847, 3847, 3, 1, 0, -0.657082, 114.127, -5.49865, 4.69533, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+42 , 18405, 0, 0, 553, 3847, 3847, 3, 1, 0, 1.71903, 199.112, -5.47897, 2.17535, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+43 , 18419, 0, 0, 553, 3847, 3847, 3, 1, 0, -19.3633, 197.066, -5.45702, 1.36136, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+44 , 18419, 0, 0, 553, 3847, 3847, 3, 1, 0, -6.18938, 166.711, -5.45703, 1.78024, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+45 , 18419, 0, 0, 553, 3847, 3847, 3, 1, 0, 15.8812, 195.363, -5.45708, 0.244346, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+46 , 18419, 0, 0, 553, 3847, 3847, 3, 1, 0, -4.45333, 252.871, -5.39659, 2.40855, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+47 , 18419, 0, 0, 553, 3847, 3847, 3, 1, 0, 13.1902, 198.497, -5.45706, 0.855211, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+48 , 18419, 0, 0, 553, 3847, 3847, 3, 1, 0, -14.2483, 197.646, -5.45702, 2.49582, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+49 , 18419, 0, 0, 553, 3847, 3847, 3, 1, 0, 3.13933, 253.476, -5.3924, 1.0821, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+50 , 18419, 0, 0, 553, 3847, 3847, 3, 1, 0, -3.43691, 163.531, -5.45704, 1.15192, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+51 , 18420, 0, 0, 553, 3847, 3847, 3, 1, 1, 159.738, 450.842, -5.41347, 4.69494, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+52 , 18420, 0, 0, 553, 3847, 3847, 3, 1, 1, 89.4469, 492.11, -5.42828, 6.24828, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+53 , 18421, 0, 0, 553, 3847, 3847, 3, 1, 1, 152.396, 375.262, -5.30307, 5.42797, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+54 , 18421, 0, 0, 553, 3847, 3847, 3, 1, 1, 170.202, 387.448, -5.30306, 0.541052, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+55 , 18421, 0, 0, 553, 3847, 3847, 3, 1, 1, 152.883, 411.747, -5.30312, 5.37561, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+56 , 18421, 0, 0, 553, 3847, 3847, 3, 1, 1, 158.615, 411.407, -5.30312, 3.78736, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+57 , 18421, 0, 0, 553, 3847, 3847, 3, 1, 1, 197.545, 377.96, -5.40067, 5.63741, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+58 , 18421, 0, 0, 553, 3847, 3847, 3, 1, 1, 164.13808, 501.65262, -2.169621, 0.418879032135009765, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+59 , 18421, 0, 0, 553, 3847, 3847, 3, 1, 1, 170.102, 499.288, -2.20102, 1.29154, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+60 , 18422, 0, 0, 553, 3847, 3847, 3, 1, 1, 158.949, 369.891, -5.30307, 0.471239, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+61 , 18422, 0, 0, 553, 3847, 3847, 3, 1, 1, 161.327, 377.632, -5.38641, 3.89208, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+62 , 18422, 0, 0, 553, 3847, 3847, 3, 1, 1, 161.586, 402.931, -5.38644, 2.26893, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+63 , 18422, 0, 0, 553, 3847, 3847, 3, 1, 1, 194.021, 381.961, -5.3712, 5.16617, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+64 , 18422, 0, 0, 553, 3847, 3847, 3, 1, 1, 161.187, 408.951, -5.30312, 6.26573, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+65 , 18422, 0, 0, 553, 3847, 3847, 3, 1, 1, 174.261, 496.247, -2.47682, 2.21657, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+66 , 18422, 0, 0, 553, 3847, 3847, 3, 1, 1, 161.825, 508.441, -2.50882, 5.48033, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+67 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 155.634, 431.37, -6.6656, 0.341256, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+68 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 146.464, 430.336, -6.55964, 5.46936, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+69 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 148.293, 437.387, -6.61002, 0.541052, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+70 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 168.333, 433.326, -6.88213, 1.1565, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+71 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 164.494, 436.609, -6.85249, 0.482658, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+72 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 155.004, 441.406, -6.76741, 1.48074, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+73 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 170.075, 438.384, -6.9189, 4.1424, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+74 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 102.482, 478.421, -6.62876, 4.53808, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+75 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 166.262, 443.45, -6.89592, 3.69224, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+76 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 98.4055, 487.476, -6.74783, 1.36306, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+77 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 97.5751, 494.773, -6.82732, 4.39194, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+78 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 106.753, 497.009, -6.88633, 1.85695, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+79 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 102.242, 497.175, -6.87164, 4.53179, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+80 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 107.655, 489.229, -6.78036, 6.10342, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+81 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 98.0962, 502.715, -6.91908, 4.16586, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+82 , 18587, 0, 0, 553, 3847, 3847, 3, 1, 0, 112.471, 506.305, -7.01248, 0.637195, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+83 , 19486, 0, 0, 553, 3847, 3847, 3, 1, 1, 152.061, 369.717, -5.30307, 0.785398, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+84 , 19486, 0, 0, 553, 3847, 3847, 3, 1, 1, 175.843, 387.166, -5.30306, 2.23402, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+85 , 19486, 0, 0, 553, 3847, 3847, 3, 1, 1, 152.395, 406.044, -5.30312, 0.855211, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+86 , 19486, 0, 0, 553, 3847, 3847, 3, 1, 1, 199.583, 372.112, -5.43548, 0.663225, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+87 , 19486, 0, 0, 553, 3847, 3847, 3, 1, 1, 176.38, 392.68, -5.30307, 3.76991, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+88 , 19486, 0, 0, 553, 3847, 3847, 3, 1, 1, 198.131, 373.662, -5.42373, 0.471239, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+89 , 19486, 0, 0, 553, 3847, 3847, 3, 1, 1, 165.405, 504.418, -2.20859, 0.10472, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+90 , 19505, 0, 0, 553, 3847, 3847, 3, 1, 0, -9.7173, 588.702, -17.6519, 1.55334, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+91 , 19505, 0, 0, 553, 3847, 3847, 3, 1, 0, -4.28845, 505.214, -5.22576, 0.820305, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+92 , 19505, 0, 0, 553, 3847, 3847, 3, 1, 0, -20.1536, 505.03, -5.22962, 1.27409, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+93 , 19505, 0, 0, 553, 3847, 3847, 3, 1, 0, 1.54828, 505.512, -5.23187, 2.28638, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+94 , 19505, 0, 0, 553, 3847, 3847, 3, 1, 0, -15.6348, 505.633, -5.2228, 2.47837, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+95 , 19505, 0, 0, 553, 3847, 3847, 3, 1, 0, 20, 588.383, -17.6722, 1.58825, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+96 , 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -152.4, 372.664, -17.6055, 0.331613, 86400, 0, 0, 0, 0, 0, 0, 33948422, 40, '', 46924), +(@CGUID+97 , 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -164.275, 375.683, -17.6169, 2.75762, 86400, 0, 0, 0, 0, 0, 0, 33948422, 40, '', 46924), +(@CGUID+98 , 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -154.356, 386.376, -17.7216, 4.43314, 86400, 0, 0, 0, 0, 0, 0, 33948422, 40, '', 46924), +(@CGUID+99 , 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -172.32, 380.316, -17.6107, 0.890118, 86400, 0, 0, 0, 0, 0, 0, 33948422, 40, '', 46924), +(@CGUID+100, 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -177.095, 378.248, -17.6081, 5.18363, 86400, 0, 0, 0, 0, 0, 0, 33948422, 40, '', 46924), +(@CGUID+101, 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -173.274, 390.129, -17.6073, 3.50811, 86400, 0, 0, 0, 0, 0, 0, 33948422, 40, '', 46924), +(@CGUID+102, 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -150.54, 400.302, -17.7579, 2.75762, 86400, 0, 0, 0, 0, 0, 0, 33948422, 40, '', 46924), +(@CGUID+103, 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -166.857, 398.471, -17.6142, 4.2237, 86400, 0, 0, 0, 0, 0, 0, 33948422, 40, '', 46924), +(@CGUID+104, 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -179.922, 401.107, -17.6042, 0.488692, 86400, 0, 0, 0, 0, 0, 0, 33948422, 40, '', 46924), +(@CGUID+105, 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -157.634, 411.701, -17.6124, 1.27409, 86400, 0, 0, 0, 0, 0, 0, 33948422, 40, '', 46924), +(@CGUID+106, 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -172.605, 403.925, -17.6111, 4.7473, 86400, 0, 0, 0, 0, 0, 0, 33948422, 40, '', 46924), +(@CGUID+107, 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -177.217, 408.964, -17.6069, 2.07694, 86400, 0, 0, 0, 0, 0, 0, 33948422, 40, '', 46924), +(@CGUID+108, 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -160.49, 499.152, -17.7416, 3.19395, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+109, 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -131.527, 507.604, -17.7416, 4.15388, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+110, 19507, 0, 0, 553, 3847, 3847, 3, 1, 0, -150.399, 526.537, -17.7416, 3.63028, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+111, 19508, 0, 0, 553, 3847, 3847, 3, 1, 1, -16.2608, 482.706, -5.38576, 3.94444, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+112, 19508, 0, 0, 553, 3847, 3847, 3, 1, 1, -17.3213, 485.099, -5.36875, 2.96706, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+113, 19508, 0, 0, 553, 3847, 3847, 3, 1, 1, -129.174, 503.963, -17.7416, 3.38594, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+114, 19508, 0, 0, 553, 3847, 3847, 3, 1, 1, -163.527, 504.29, -17.7416, 3.90954, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+115, 19509, 0, 0, 553, 3847, 3847, 3, 1, 1, -15.0387, 479.981, -5.40512, 1.39626, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+116, 19509, 0, 0, 553, 3847, 3847, 3, 1, 1, -161.771, 495.03, -17.7416, 2.93215, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+117, 19509, 0, 0, 553, 3847, 3847, 3, 1, 1, -135.687, 508.005, -17.7416, 4.7822, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+118, 19509, 0, 0, 553, 3847, 3847, 3, 1, 1, -149.586, 522.217, -17.7416, 2.82743, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+119, 19509, 0, 0, 553, 3847, 3847, 3, 1, 1, -154.478, 529.907, -17.7416, 3.75246, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+120, 19511, 0, 0, 553, 3847, 3847, 3, 1, 1, 13.7186, 579.122, -17.7867, 1.98968, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+121, 19511, 0, 0, 553, 3847, 3847, 3, 1, 1, -7.54216, 483.758, -5.48296, 5.60109, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+122, 19511, 0, 0, 553, 3847, 3847, 3, 1, 1, 1.56623, 493.788, -5.43364, 2.7642, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+123, 19511, 0, 0, 553, 3847, 3847, 3, 1, 1, -45.387, 532.178, -15.3885, 5.50128, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+124, 19511, 0, 0, 553, 3847, 3847, 3, 1, 1, 30.5061, 554.694, -18.2601, 3.01657, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+125, 19511, 0, 0, 553, 3847, 3847, 3, 1, 1, 13.1327, 569.824, -17.9185, 1.79769, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+126, 19511, 0, 0, 553, 3847, 3847, 3, 1, 1, -0.867442, 569.955, -17.8747, 1.44862, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+127, 19511, 0, 0, 553, 3847, 3847, 3, 1, 1, -9.98952, 577.369, -17.7983, 1.13446, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+128, 19512, 0, 0, 553, 3847, 3847, 3, 1, 1, -41.7851, 537.039, -17.1612, 4.67166, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+129, 19512, 0, 0, 553, 3847, 3847, 3, 1, 1, -8.29304, 568.918, -17.9035, 1.25664, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+130, 19512, 0, 0, 553, 3847, 3847, 3, 1, 1, 20.6579, 570.267, -17.9328, 2.04204, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+131, 19512, 0, 0, 553, 3847, 3847, 3, 1, 1, 22.3027, 579.251, -17.8083, 2.25147, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+132, 19512, 0, 0, 553, 3847, 3847, 3, 1, 1, 0.125824, 576.989, -17.7821, 1.41372, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+133, 19513, 0, 0, 553, 3847, 3847, 3, 1, 0, -157.757, 376.544, -17.6102, 2.07694, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+134, 19513, 0, 0, 553, 3847, 3847, 3, 1, 0, -173.101, 371.972, -17.6119, 0.698132, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+135, 19513, 0, 0, 553, 3847, 3847, 3, 1, 0, -155.913, 404.689, -17.6097, 1.11701, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+136, 19513, 0, 0, 553, 3847, 3847, 3, 1, 0, -170.727, 408.12, -17.6117, 0.680678, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+137, 19513, 0, 0, 553, 3847, 3847, 3, 1, 0, -158.333, 409.194, -17.6105, 5.95157, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+138, 19513, 0, 0, 553, 3847, 3847, 3, 1, 0, -178.098, 414.293, -17.6069, 5.61996, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+139, 19555, 0, 0, 553, 3847, 3847, 3, 1, 0, -1.83877, 510.545, 0.624383, 2.58309, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+140, 19555, 0, 0, 553, 3847, 3847, 3, 1, 0, -18.0924, 509.914, 1.61268, 3.52557, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+141, 19555, 0, 0, 553, 3847, 3847, 3, 1, 0, 20.0907, 599.71, -8.29904, 3.14159, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+142, 19555, 0, 0, 553, 3847, 3847, 3, 1, 0, -9.87732, 599.763, -8.5421, 6.03884, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+143, 19557, 0, 0, 553, 3847, 3847, 3, 1, 0, 160.619, 371.029, -5.30307, 3.24631, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+144, 19557, 0, 0, 553, 3847, 3847, 3, 1, 0, 154.009, 399.012, -5.38644, 2.90003, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+145, 19557, 0, 0, 553, 3847, 3847, 3, 1, 0, 166.836, 403.544, -5.38643, 3.86121, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+146, 19557, 0, 0, 553, 3847, 3847, 3, 1, 0, 194.849, 380.179, -5.3831, 1.67552, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+147, 19557, 0, 0, 553, 3847, 3847, 3, 1, 0, 163.089, 409.039, -5.30312, 2.60054, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+148, 19557, 0, 0, 553, 3847, 3847, 3, 1, 0, 172.615, 498.358, -2.31229, 4.43314, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+149, 19557, 0, 0, 553, 3847, 3847, 3, 1, 0, 163.761, 507.106, -2.36096, 3.50811, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+150, 19598, 0, 0, 553, 3847, 3847, 3, 1, 0, -127.188, 508.097, -17.7416, 0.680678, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+151, 19598, 0, 0, 553, 3847, 3847, 3, 1, 0, -129.022, 515.347, -17.8249, 2.95071, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+152, 19598, 0, 0, 553, 3847, 3847, 3, 1, 0, -152.105, 499.975, -17.8249, 4.08054, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+153, 19598, 0, 0, 553, 3847, 3847, 3, 1, 0, -157.032, 506.463, -17.8249, 0.767585, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+154, 19598, 0, 0, 553, 3847, 3847, 3, 1, 0, -143.65, 522.046, -17.8249, 4.94884, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+155, 19598, 0, 0, 553, 3847, 3847, 3, 1, 0, -150.033, 530.878, -17.8249, 2.32775, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+156, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 11.4405, 359.739, -27.9089, 4.32122, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+157, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 17.0454, 359, -27.4179, 3.72482, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+158, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 4.39982, 365.464, -27.7524, 2.28376, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+159, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 28.2538, 367.298, -25.7301, 1.70034, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+160, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 12.2952, 370.77, -26.7367, 5.844, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+161, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 0.420135, 374.572, -27.5664, 5.34399, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+162, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 18.3876, 373.111, -26.5595, 5.03616, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+163, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 25.979, 376.722, -26.6886, 2.39683, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+164, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 12.8884, 379.785, -27.6479, 3.36757, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+165, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 20.9522, 380.282, -27.3528, 5.57957, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+166, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, -11.4655, 403.684, -28.9729, 6.07067, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+167, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 15.6301, 403.499, -27.5909, 3.98517, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+168, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, -14.7986, 409.728, -29.0519, 4.28779, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+169, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 4.01691, 407.446, -27.7113, 4.80471, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+170, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, -6.54189, 406.709, -28.8525, 3.19496, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+171, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, -2.81249, 404.491, -28.8971, 0.289019, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+172, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 1.23909, 413.528, -28.2706, 0.105794, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+173, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 3.47161, 412.26, -27.8663, 3.88872, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+174, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 3.57343, 420.337, -28.4988, 0.043863, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+175, 19608, 0, 0, 553, 3847, 3847, 3, 1, 0, 2.19094, 421.783, -28.7573, 0.307776, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+176, 19633, 0, 0, 553, 3847, 3847, 3, 1, 0, 5.66246, 166.799, -5.45705, 3.48662, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+177, 19633, 0, 0, 553, 3847, 3847, 3, 1, 0, 10.6196, 202.391, -5.45705, 4.13643, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+178, 19633, 0, 0, 553, 3847, 3847, 3, 1, 0, -0.755704, 255.12, -5.40764, 1.67552, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+179, 19633, 0, 0, 553, 3847, 3847, 3, 1, 0, -11.2663, 201.123, -5.45702, 5.51524, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+180, 19843, 0, 0, 553, 3847, 3847, 3, 1, 1, -67.0428, 560.303, -17.7856, 3.31579, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+181, 19843, 0, 0, 553, 3847, 3847, 3, 1, 1, -81.9598, 547.3, -17.7915, 4.42682, 86400, 5, 1, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+182, 19865, 0, 0, 553, 3847, 3847, 3, 1, 0, -164.314, 371.267, -17.6188, 5.89921, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+183, 19865, 0, 0, 553, 3847, 3847, 3, 1, 0, -168.994, 383.447, -17.6124, 4.7822, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+184, 19865, 0, 0, 553, 3847, 3847, 3, 1, 0, -157.645, 396.704, -17.6893, 5.75959, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+185, 19865, 0, 0, 553, 3847, 3847, 3, 1, 0, -151.525, 413.861, -17.6048, 3.735, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+186, 19865, 0, 0, 553, 3847, 3847, 3, 1, 0, -174.267, 401.28, -17.6078, 5.37561, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924), +(@CGUID+187, 19865, 0, 0, 553, 3847, 3847, 3, 1, 0, -172.983, 418.549, -17.631, 2.54818, 86400, 0, 0, 0, 0, 0, 0, 0, 0, '', 46924); + +-- Commander Sarannis Double Attack Aura +UPDATE `creature_template_addon` SET `auras` = '19818' WHERE (`entry` = 17976); + +-- Pathing for Tempest-Forge Peacekeeper Entry: 18405 +SET @NPC := @CGUID+41; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-0.755125,`position_y`=111.97571,`position_z`=-5.5790524 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,-0.755125,111.97571,-5.5790524,NULL,500,0,0,100,0), +(@PATH,2,-1.29136,76.94684,-5.6723366,NULL,0,0,0,100,0), +(@PATH,3,-1.203372,40.81776,-5.697605,NULL,500,0,0,100,0), +(@PATH,4,-1.29136,76.94684,-5.6723366,NULL,0,0,0,100,0); +-- 0x2041DC452011F94000099800018E350E .go xyz -0.755125 111.97571 -5.5790524 + +-- Pathing for Tempest-Forge Peacekeeper Entry: 18405 +SET @NPC := @CGUID+40; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-16.622828,`position_y`=182.00102,`position_z`=-5.5403466 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,-16.622828,182.00102,-5.5403466,NULL,500,0,0,100,0), +(@PATH,2,-15.95655,167.93321,-5.5403438,NULL,0,0,0,100,0), +(@PATH,3,-0.681508,156.79243,-5.54037,NULL,0,0,0,100,0), +(@PATH,4,-0.733345,122.92154,-5.54038,NULL,500,0,0,100,0), +(@PATH,5,-0.681508,156.79243,-5.54037,NULL,0,0,0,100,0), +(@PATH,6,-15.95655,167.93321,-5.5403438,NULL,0,0,0,100,0); +-- 0x2041DC452011F94000099800000E350E .go xyz -16.622828 182.00102 -5.5403466 + +-- Pathing for Tempest-Forge Peacekeeper Entry: 18405 +SET @NPC := @CGUID+42; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=14.184935,`position_y`=177.34564,`position_z`=-5.5404077 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,14.184935,177.34564,-5.5404077,NULL,0,0,0,100,0), +(@PATH,2,14.394636,191.62259,-5.5404058,NULL,0,0,0,100,0), +(@PATH,3,9.744885,197.85094,-5.5403934,NULL,0,0,0,100,0), +(@PATH,4,-0.7083383,202.68777,-5.540371,NULL,0,0,0,100,0), +(@PATH,5,-0.863688,242.40205,-5.576286,NULL,10000,0,0,100,0), +(@PATH,6,-0.863688,242.40205,-5.576286,NULL,0,0,0,100,0), +(@PATH,7,-0.771556,202.71703,-5.5403705,NULL,0,0,0,100,0), +(@PATH,8,9.744885,197.85094,-5.5403934,NULL,0,0,0,100,0), +(@PATH,9,14.394636,191.62259,-5.5404058,NULL,0,0,0,100,0); +-- 0x2041DC452011F94000099800008E350E .go xyz 14.184935 177.34564 -5.5404077 + +-- Pathing for Tempest-Forge Peacekeeper Entry: 18405 +SET @NPC := @CGUID+39; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-15.361143,`position_y`=288.29004,`position_z`=-0.9933744 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,-15.361143,288.29004,-0.9933744,NULL,500,0,0,100,0), +(@PATH,2,-2.241252,288.31714,1.0406964,NULL,0,0,0,100,0), +(@PATH,3,9.004453,288.18857,-0.0030922033,NULL,0,0,0,100,0), +(@PATH,4,48.18709,287.5947,-5.6754208,NULL,500,0,0,100,0), +(@PATH,5,9.004453,288.18857,-0.0030922033,NULL,0,0,0,100,0), +(@PATH,6,-2.241252,288.31714,1.0406964,NULL,0,0,0,100,0); +-- 0x2041DC452011F94000099800010E350E .go xyz -15.361143 288.29004 -0.9933744 + +-- Pathing for Commander Sarannis Entry: 17976 +SET @NPC := @CGUID+1; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=150.96367,`position_y`=296.03403,`position_z`=-4.5677114 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,3, '19818'); -- 17976 Double Attack +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,150.96367,296.03403,-4.5677114,NULL,500,0,0,100,0), +(@PATH,2,125.72935,321.18497,-3.6359427,NULL,500,0,0,100,0); +-- 0x2041DC4520118E0000099800000E350E .go xyz 150.96367 296.03403 -4.5677114 + +-- Pathing for Bloodwarder Greenkeeper Entry: 18419 +SET @NPC := @CGUID+44; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-6.24241,`position_y`=166.6921,`position_z`=-5.5403643 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,69,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,-6.24241,166.6921,-5.5403643,1.780235767364501953,45000,0,0,100,0), +(@PATH,2,-3.464332,161.02238,-5.5403714,NULL,0,0,0,100,0), +(@PATH,3,0.992403,160.6039,-5.5403724,NULL,0,0,0,100,0), +(@PATH,4,2.213683,163.03323,-5.5403814,NULL,0,0,0,100,0), +(@PATH,5,2.213683,163.03323,-5.5403814,2.251474618911743164,25000,0,0,100,0), +(@PATH,6,-4.294355,161.2607,-5.540369,NULL,0,0,0,100,0), +(@PATH,7,-6.205455,163.51398,-5.5403643,NULL,0,0,0,100,0), +(@PATH,8,-6.24241,166.6921,-5.5403643,NULL,0,0,0,100,0); +-- 0x2041DC452011FCC000099800000E350F .go xyz -6.24241 166.6921 -5.5403643 + +-- Pathing for Bloodwarder Greenkeeper Entry: 18419 +SET @NPC := @CGUID+43; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-19.617546,`position_y`=196.94617,`position_z`=-5.5403457 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,69,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,-19.617546,196.94617,-5.5403457,1.361356854438781738,30000,0,0,100,0), +(@PATH,2,-14.249623,195.31355,-5.540352,NULL,0,0,0,100,0), +(@PATH,3,-10.832382,198.47723,-5.5403476,NULL,0,0,0,100,0), +(@PATH,4,-7.085683,202.04625,-5.540354,NULL,0,0,0,100,0), +(@PATH,5,-8.21974,204.3309,-5.54035,NULL,0,0,0,100,0), +(@PATH,6,-8.21974,204.3309,-5.54035,3.560471534729003906,25000,0,0,100,0), +(@PATH,7,-10.741502,199.82332,-5.540348,NULL,0,0,0,100,0), +(@PATH,8,-12.490674,195.6114,-5.5403466,NULL,0,0,0,100,0), +(@PATH,9,-16.424341,194.29588,-5.540349,NULL,0,0,0,100,0), +(@PATH,10,-19.617546,196.94617,-5.5403457,NULL,0,0,0,100,0); +-- 0x2041DC452011FCC000099800008E350F .go xyz -19.617546 196.94617 -5.5403457 + +-- Pathing for Bloodwarder Greenkeeper Entry: 18419 +SET @NPC := @CGUID+47; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=13.118124,`position_y`=198.47266,`position_z`=-5.5404043 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,69,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,13.118124,198.47266,-5.5404043,0.855211317539215087,27000,0,0,100,0), +(@PATH,2,17.342175,193.04478,-5.540413,NULL,0,0,0,100,0), +(@PATH,3,17.342175,193.04478,-5.540413,0.942477762699127197,30000,0,0,100,0), +(@PATH,4,13.038144,196.03471,-5.5404077,NULL,0,0,0,100,0), +(@PATH,5,13.118124,198.47266,-5.5404043,NULL,0,0,0,100,0); +-- 0x2041DC452011FCC000099800028E350E .go xyz 13.118124 198.47266 -5.5404043 + +SET @GREENKEEPER_TALK := 1841900; +SET @GREENKEEPER_WORK := 1841901; + +DELETE FROM `waypoint_scripts` WHERE `id` IN (@GREENKEEPER_TALK, @GREENKEEPER_WORK) AND `guid` IN (@GREENKEEPER_TALK, @GREENKEEPER_WORK); +INSERT INTO `waypoint_scripts` (`id`, `command`, `datalong`, `datalong2`, `guid`) VALUES +(@GREENKEEPER_TALK, 1, 378, 1, @GREENKEEPER_TALK), +(@GREENKEEPER_WORK, 1, 69 , 1, @GREENKEEPER_WORK); + +-- Pathing for Bloodwarder Greenkeeper Entry: 18419 +SET @NPC := @CGUID+46; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-4.453328,`position_y`=252.87134,`position_z`=-5.3965907 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,-4.453328,252.87134,-5.3965907,0.069813169538974761,6000,0,@GREENKEEPER_TALK,100,0), -- EmoteState: 378 +(@PATH,2,-4.453328,252.87134,-5.3965907,2.146754980087280273,20000,0,@GREENKEEPER_WORK,100,0); -- EmoteState: 69 +-- 0x2041DC452011FCC000099800018E350E .go xyz -4.453328 252.87134 -5.3965907 + +-- Pathing for Bloodwarder Greenkeeper Entry: 18419 +SET @NPC := @CGUID+49; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=3.139327,`position_y`=253.47603,`position_z`=-5.3923993 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,3.139327,253.47603,-5.3923993,3.141592741012573242,6000,0,@GREENKEEPER_TALK,100,0), +(@PATH,2,3.139327,253.47603,-5.3923993,0.977384388446807861,20000,0,@GREENKEEPER_WORK,100,0); +-- 0x2041DC452011FCC000099800020E350E .go xyz 3.139327 253.47603 -5.3923993 + +-- Pathing for Sunseeker Botanist Entry: 18422 +SET @NPC := @CGUID+61; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=161.32674,`position_y`=377.6318,`position_z`=-5.3864074 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,161.32674,377.6318,-5.3864074,3.892084121704101562,16000,0,0,100,0), +(@PATH,2,164.73518,383.69333,-5.3864126,NULL,0,0,0,100,0), +(@PATH,3,164.08838,388.16116,-5.3864183,NULL,0,0,0,100,0), +(@PATH,4,161.8422,392.52505,-5.3864245,NULL,0,0,0,100,0), +(@PATH,5,159.04375,394.92587,-5.386429,NULL,0,0,0,100,0), +(@PATH,6,154.68452,398.07758,-5.386435,NULL,0,0,0,100,0), +(@PATH,7,153.94124,401.8906,-5.38644,NULL,0,0,0,100,0), +(@PATH,8,153.94124,401.8906,-5.38644,0.942477762699127197,18000,0,0,100,0), +(@PATH,9,155.4246,397.5377,-5.3864336,NULL,0,0,0,100,0), +(@PATH,10,157.82056,395.40057,-5.3864303,NULL,0,0,0,100,0), +(@PATH,11,160.73982,392.51236,-5.386425,NULL,0,0,0,100,0), +(@PATH,12,163.7198,388.017,-5.3864183,NULL,0,0,0,100,0), +(@PATH,13,163.84503,385.06787,-5.386415,NULL,0,0,0,100,0), +(@PATH,14,163.11421,380.81992,-5.38641,NULL,0,0,0,100,0), +(@PATH,15,161.32674,377.6318,-5.3864074,NULL,0,0,0,100,0); +-- 0x2041DC452011FD8000099800008E350E .go xyz 161.32674 377.6318 -5.3864074 + +-- Pathing for Sunseeker Botanist Entry: 18422 +SET @NPC := @CGUID+62; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=161.58592,`position_y`=402.9305,`position_z`=-5.386437 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,161.58592,402.9305,-5.386437,2.268928050994873046,17000,0,0,100,0), +(@PATH,2,165.13728,399.90314,-5.386431,NULL,0,0,0,100,0), +(@PATH,3,168.7618,399.839,-5.3864293,NULL,0,0,0,100,0), +(@PATH,4,172.81506,400.5747,-5.386428,NULL,0,0,0,100,0), +(@PATH,5,177.91023,400.0075,-5.3864245,NULL,0,0,0,100,0), +(@PATH,6,181.75496,397.46924,-5.38642,NULL,0,0,0,100,0), +(@PATH,7,182.47469,393.09888,-5.3864145,NULL,0,0,0,100,0), +(@PATH,8,183.03293,388.3197,-5.3864083,NULL,0,0,0,100,0), +(@PATH,9,185.39342,384.4199,-5.500157,NULL,0,0,0,100,0), +(@PATH,10,188.07881,383.3712,-5.505682,NULL,0,0,0,100,0), +(@PATH,11,191.3777,384.4846,-5.5123386,NULL,0,0,0,100,0), +(@PATH,12,191.3777,384.4846,-5.5123386,0.767944872379302978,19000,0,0,100,0), +(@PATH,13,186.81783,385.4778,-5.5029993,NULL,0,0,0,100,0), +(@PATH,14,183.88887,388.4998,-5.49687,NULL,0,0,0,100,0), +(@PATH,15,182.7735,392.4268,-5.3864136,NULL,0,0,0,100,0), +(@PATH,16,181.82643,397.84805,-5.3864202,NULL,0,0,0,100,0), +(@PATH,17,177.46024,402.43765,-5.386428,NULL,0,0,0,100,0), +(@PATH,18,169.00165,404.75284,-5.386435,NULL,0,0,0,100,0), +(@PATH,19,161.58592,402.9305,-5.386437,NULL,0,0,0,100,0); +-- 0x2041DC452011FD8000099800028E350E .go xyz 161.58592 402.9305 -5.386437 + +-- Pathing for High Botanist Freywinn Entry: 17975 +SET @NPC := @CGUID+0; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2 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,69,3, ''); +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,116.32591,455.5696,-4.941401,3.385938644409179687,15000,0,0,100,0), +(@PATH,2,120.16402,450.68173,-4.894922,4.555309295654296875,15000,0,0,100,0); +-- 0x2041DC4520118DC000099800000E350E .go xyz 116.32591 455.5696 -4.941401 + +-- Pathing for Nethervine Inciter Entry: 19511 +SET @NPC := @CGUID+121; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=1.63937,`position_y`=482.49994,`position_z`=-5.534588 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,1.63937,482.49994,-5.534588,NULL,0,0,0,100,0), +(@PATH,2,-6.525395,482.93228,-5.4948173,NULL,0,0,0,100,0), +(@PATH,3,-13.819373,488.85602,-5.425375,NULL,0,0,0,100,0), +(@PATH,4,-17.635359,496.55002,-5.3706923,NULL,0,0,0,100,0), +(@PATH,5,-16.294327,503.0782,-5.324291,NULL,0,0,0,100,0), +(@PATH,6,-6.525395,482.93228,-5.4948173,NULL,0,0,0,100,0); +-- 0x2041DC4520130DC000099800000E350E .go xyz 1.63937 482.49994 -5.534588 + +-- Pathing for Nethervine Inciter Entry: 19511 +SET @NPC := @CGUID+122; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-10.506299,`position_y`=509.9379,`position_z`=-5.275531 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,-10.506299,509.9379,-5.275531,NULL,0,0,0,100,0), +(@PATH,2,-10.811854,498.69476,-5.355443,NULL,0,0,0,100,0), +(@PATH,3,2.500325,493.41788,-5.4415383,NULL,0,0,0,100,0), +(@PATH,4,15.093162,496.89648,-5.4699764,NULL,0,0,0,100,0), +(@PATH,5,2.500325,493.41788,-5.4415383,NULL,0,0,0,100,0), +(@PATH,6,-10.811854,498.69476,-5.355443,NULL,0,0,0,100,0); +-- 0x2041DC4520130DC000099800008E350E .go xyz -10.506299 509.9379 -5.275531 + +-- Pathing for Nethervine Inciter Entry: 19511 +SET @NPC := @CGUID+123; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-21.582249,`position_y`=517.7063,`position_z`=-6.475253 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,-21.582249,517.7063,-6.475253,NULL,0,0,0,100,0), +(@PATH,2,-9.34382,516.5084,-5.6364603,NULL,0,0,0,100,0), +(@PATH,3,4.990617,518.1604,-7.1384296,NULL,0,0,0,100,0), +(@PATH,4,19.445581,526.3201,-11.257864,NULL,0,0,0,100,0), +(@PATH,5,23.91135,540.4265,-18.37715,NULL,0,0,0,100,0), +(@PATH,6,18.103956,548.5428,-18.29796,NULL,0,0,0,100,0), +(@PATH,7,-1.83314,553.56354,-18.135887,NULL,0,0,0,100,0), +(@PATH,8,-17.958172,553.2923,-18.191553,NULL,0,0,0,100,0), +(@PATH,9,-30.428175,550.3372,-18.304739,NULL,0,0,0,100,0), +(@PATH,10,-43.321644,544.68585,-18.359991,NULL,0,0,0,100,0), +(@PATH,11,-46.765606,533.5467,-15.893292,NULL,0,0,0,100,0), +(@PATH,12,-37.181698,524.0293,-10.164318,NULL,0,0,0,100,0); +-- 0x2041DC4520130DC000099800038E350E .go xyz -21.582249 517.7063 -6.475253 + +-- Pathing for Nethervine Inciter Entry: 19511 +SET @NPC := @CGUID+124; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-29.17254,`position_y`=568.2135,`position_z`=-17.990519 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,-29.17254,568.2135,-17.990519,NULL,0,0,0,100,0), +(@PATH,2,-11.505647,559.82526,-18.09619,NULL,0,0,0,100,0), +(@PATH,3,13.711286,556.805,-18.137554,NULL,0,0,0,100,0), +(@PATH,4,34.537453,554.1877,-18.282408,NULL,0,0,0,100,0), +(@PATH,5,13.711286,556.805,-18.137554,NULL,0,0,0,100,0), +(@PATH,6,-11.505647,559.82526,-18.09619,NULL,0,0,0,100,0); +-- 0x2041DC4520130DC000099800010E350E .go xyz -29.17254 568.2135 -17.990519 + +-- Patrol formations +DELETE FROM `creature_formations` WHERE `leaderGUID` IN (@CGUID+61, @CGUID+62, @CGUID+123) AND `memberGUID` IN (@CGUID+61, @CGUID+62, @CGUID+123, @CGUID+128, @CGUID+144, @CGUID+145); +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES +(@CGUID+61, @CGUID+61, 0, 0, 3), +(@CGUID+61, @CGUID+144, 3, 180, 515), +(@CGUID+62, @CGUID+62, 0, 0, 3), +(@CGUID+62, @CGUID+145, 3, 180, 515), +(@CGUID+123, @CGUID+123, 0, 0, 3), +(@CGUID+123, @CGUID+128, 3.5, 90, 515); + +-- SmartAI for Sunseeker Botanist +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18422); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(18422, 0, 0, 0, 14, 0, 100, 2, 2000, 40, 12000, 16000, 0, 11, 34361, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - Friendly At 2000 Health - Cast \'Regrowth\' (Normal Dungeon)'), +(18422, 0, 1, 0, 14, 0, 100, 4, 2000, 40, 12000, 16000, 0, 11, 39125, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - Friendly At 2000 Health - Cast \'Regrowth\' (Heroic Dungeon)'), +(18422, 0, 2, 0, 0, 0, 100, 0, 3000, 5000, 20000, 20000, 0, 11, 34350, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - In Combat - Cast \'Nature`s Rage\''); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18422); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(18422, 0, 0, 0, 14, 0, 100, 2, 2000, 40, 12000, 16000, 0, 11, 34361, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - Friendly At 2000 Health - Cast \'Regrowth\' (Normal Dungeon)'), +(18422, 0, 1, 0, 14, 0, 100, 4, 2000, 40, 12000, 16000, 0, 11, 39125, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - Friendly At 2000 Health - Cast \'Regrowth\' (Heroic Dungeon)'), +(18422, 0, 2, 0, 0, 0, 100, 0, 3000, 5000, 20000, 20000, 0, 11, 34350, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - In Combat - Cast \'Nature`s Rage\''); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-(@CGUID+65), -(@CGUID+66))); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-(@CGUID+65), 0, 0, 0, 14, 0, 100, 2, 2000, 40, 12000, 16000, 0, 11, 34361, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - Friendly At 2000 Health - Cast \'Regrowth\' (Normal Dungeon)'), +(-(@CGUID+65), 0, 1, 0, 14, 0, 100, 4, 2000, 40, 12000, 16000, 0, 11, 39125, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - Friendly At 2000 Health - Cast \'Regrowth\' (Heroic Dungeon)'), +(-(@CGUID+65), 0, 2, 0, 0, 0, 100, 0, 3000, 5000, 20000, 20000, 0, 11, 34350, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - In Combat - Cast \'Nature`s Rage\''), +(-(@CGUID+65), 0, 1001, 0, 1, 0, 100, 0, 0, 60000, 45000, 120000, 0, 80, 1842200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - Out of Combat - Run Script'), +(-(@CGUID+66), 0, 0, 0, 14, 0, 100, 2, 2000, 40, 12000, 16000, 0, 11, 34361, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - Friendly At 2000 Health - Cast \'Regrowth\' (Normal Dungeon)'), +(-(@CGUID+66), 0, 1, 0, 14, 0, 100, 4, 2000, 40, 12000, 16000, 0, 11, 39125, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - Friendly At 2000 Health - Cast \'Regrowth\' (Heroic Dungeon)'), +(-(@CGUID+66), 0, 2, 0, 0, 0, 100, 0, 3000, 5000, 20000, 20000, 0, 11, 34350, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - In Combat - Cast \'Nature`s Rage\''), +(-(@CGUID+66), 0, 1001, 0, 1, 0, 100, 0, 0, 60000, 45000, 120000, 0, 80, 1842200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - Out of Combat - Run Script'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 1842200); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1842200, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - Actionlist - Say Line 0'), +(1842200, 9, 1, 0, 0, 0, 100, 0, 3400, 3400, 0, 0, 0, 11, 34254, 0, 0, 0, 0, 0, 19, 19557, 5, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - Actionlist - Cast \'Rejuvenate Plant\''), +(1842200, 9, 2, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Botanist - Actionlist - Say Line 1'); + +DELETE FROM `creature_text` WHERE `CreatureID`=18422; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `Text`, `Type`, `Probability`, `Emote`, `BroadcastTextId`, `comment`) VALUES +(18422, 0, 'Hmm...', 12, 100, 274, 17000, 'Sunseeker Botanist'), +(18422, 1, 'Yes. That did the trick.', 12, 100, 273, 16999, 'Sunseeker Botanist'); + +-- Sunseeker Geomancer +DELETE FROM `waypoints` WHERE `point_comment`='Sunseeker Geomancer' AND `entry` BETWEEN 1842000 AND 1842003; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `point_comment`) VALUES +-- Geo 1 Go 0x2041DC452011FD0000099800000E350E +(1842000,1,161.05328,446.54932,-6.882456,NULL,'Sunseeker Geomancer'), +(1842000,2,162.57597,441.6976,-6.8499804,NULL,'Sunseeker Geomancer'), +(1842000,3,162.00397,439.0201,-6.8342767,NULL,'Sunseeker Geomancer'), +(1842000,4,157.23569,436.5563,-6.7741537,NULL,'Sunseeker Geomancer'), +-- Geo 1 Back +(1842001,1,162.69269,439.46976,-6.843295,NULL,'Sunseeker Geomancer'), +(1842001,2,163.46931,442.2841,-6.8616896,NULL,'Sunseeker Geomancer'), +(1842001,3,161.09004,446.55927,-6.8829055,NULL,'Sunseeker Geomancer'), +(1842001,4,159.73839,450.8425,-5.4134717,4.694935798645019531,'Sunseeker Geomancer'), +-- Geo 2 Go 0x2041DC452011FD0000099800008E350E +(1842002,1,98.24995,491.0886,-6.7881303,NULL,'Sunseeker Geomancer'), +(1842002,2,101.62144,492.35785,-6.8148685,NULL,'Sunseeker Geomancer'), +-- Geo 2 Back +(1842003,1,96.16563,490.70752,-6.7761664,NULL,'Sunseeker Geomancer'), +(1842003,2,92.9932,491.44473,-6.772856,NULL,'Sunseeker Geomancer'), +(1842003,3,89.44688,492.10977,-5.428278,6.248278617858886718,'Sunseeker Geomancer'); + +DELETE FROM `creature_text` WHERE `CreatureID`=18420; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `Text`, `Type`, `Probability`, `Emote`, `BroadcastTextId`, `comment`) VALUES +(18420, 0, 'Hmm...Frost, Fire, and Arcane defenses respond faster than Batch 7, but Nature defenses remain passive.', 12, 100, 0, 17178, 'Sunseeker Geomancer'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18420); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(18420, 0, 0, 0, 9, 0, 100, 0, 0, 8, 3600, 8400, 0, 11, 35124, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Within 0-8 Range - Cast \'Arcane Explosion\''); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` IN (1842000, 1842001, 1842002, 1842003)); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1842000, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 4.6949357986450195, 'Sunseeker Geomancer - Actionlist - Set Orientation 4.6949357986450195'), +(1842000, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 34167, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Cast \'Blizzard\''), +(1842000, 9, 2, 0, 0, 0, 100, 0, 20600, 20600, 0, 0, 0, 11, 34169, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Cast \'Rain of Fire\''), +(1842000, 9, 3, 0, 0, 0, 100, 0, 20400, 20400, 0, 0, 0, 53, 0, 1842000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Start Waypoint'), + +(1842001, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 3.6185169219970703, 'Sunseeker Geomancer - Actionlist - Set Orientation 3.6185169219970703'), +(1842001, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 34170, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Cast \'Arcane Explosion\''), +(1842001, 9, 2, 0, 0, 0, 100, 0, 2400, 2400, 0, 0, 0, 11, 34170, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Cast \'Arcane Explosion\''), +(1842001, 9, 3, 0, 0, 0, 100, 0, 2400, 2400, 0, 0, 0, 11, 34170, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Cast \'Arcane Explosion\''), +(1842001, 9, 4, 0, 0, 0, 100, 0, 2600, 2600, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Say Line 0'), +(1842001, 9, 5, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 0, 53, 0, 1842001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Start Waypoint'), + +(1842002, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 6.248278617858886718, 'Sunseeker Geomancer - Actionlist - Set Orientation 6.248278617858886718'), +(1842002, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 34183, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Cast \'Blizzard\''), +(1842002, 9, 2, 0, 0, 0, 100, 0, 20600, 20600, 0, 0, 0, 11, 34185, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Cast \'Rain of Fire\''), +(1842002, 9, 3, 0, 0, 0, 100, 0, 20400, 20400, 0, 0, 0, 53, 0, 1842002, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Start Waypoint'), + +(1842003, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0.360056608915328979, 'Sunseeker Geomancer - Actionlist - Set Orientation 0.360056608915328979'), +(1842003, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 34170, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Cast \'Arcane Explosion\''), +(1842003, 9, 2, 0, 0, 0, 100, 0, 2400, 2400, 0, 0, 0, 11, 34170, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Cast \'Arcane Explosion\''), +(1842003, 9, 3, 0, 0, 0, 100, 0, 2400, 2400, 0, 0, 0, 11, 34170, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Cast \'Arcane Explosion\''), +(1842003, 9, 4, 0, 0, 0, 100, 0, 2600, 2600, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Say Line 0'), +(1842003, 9, 5, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 0, 53, 0, 1842003, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Actionlist - Start Waypoint'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-(@CGUID+51), -(@CGUID+52))); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-(@CGUID+51), 0, 0, 0, 9, 0, 100, 0, 0, 8, 3600, 8400, 0, 11, 35124, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Within 0-8 Range - Cast \'Arcane Explosion\''), +(-(@CGUID+51), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - On Respawn - Set Event Phase 1'), +(-(@CGUID+51), 0, 1002, 1003, 1, 1, 100, 0, 1200, 2400, 1200, 2400, 0, 80, 1842000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Out of Combat - Run Script (Phase 1)'), +(-(@CGUID+51), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Out of Combat - Set Event Phase 0 (Phase 1)'), +(-(@CGUID+51), 0, 1004, 0, 58, 0, 100, 0, 4, 1842000, 0, 0, 0, 80, 1842001, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - On Waypoint Finished - Run Script'), +(-(@CGUID+51), 0, 1005, 0, 58, 0, 100, 0, 4, 1842001, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - On Waypoint Finished - Set Event Phase 1'), + +(-(@CGUID+52), 0, 0, 0, 9, 0, 100, 0, 0, 8, 3600, 8400, 0, 11, 35124, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Within 0-8 Range - Cast \'Arcane Explosion\''), +(-(@CGUID+52), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - On Respawn - Set Event Phase 1'), +(-(@CGUID+52), 0, 1002, 1003, 1, 1, 100, 0, 1200, 2400, 1200, 2400, 0, 80, 1842002, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Out of Combat - Run Script (Phase 1)'), +(-(@CGUID+52), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - Out of Combat - Set Event Phase 0 (Phase 1)'), +(-(@CGUID+52), 0, 1004, 0, 58, 0, 100, 0, 2, 1842002, 0, 0, 0, 80, 1842003, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - On Waypoint Finished - Run Script'), +(-(@CGUID+52), 0, 1005, 0, 58, 0, 100, 0, 3, 1842003, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Geomancer - On Waypoint Finished - Set Event Phase 1'); + +-- Corrects Spell Target Pos +UPDATE `spell_target_position` SET `PositionX`=102.702, `PositionY`=489.666, `PositionZ`=-6.74601 WHERE `ID` IN (34183, 34185); +UPDATE `spell_target_position` SET `PositionX`=158.252, `PositionY`=435.927, `PositionZ`=-6.78686 WHERE `ID` IN (34183, 34185); + +-- Bloodwarder Falconer and Bloodfalcons +DELETE FROM `waypoints` WHERE `point_comment`='Bloodfalcon' AND `entry` BETWEEN 1815500 AND 1815504; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `point_comment`) VALUES +(1815500,1,-12.859056,292.17502,-0.47123554,NULL,'Bloodfalcon'), +(1815500,2,-4.634653,291.63293,0.8281061,NULL,'Bloodfalcon'), +(1815500,3,-3.132143,288.05878,0.97123027,NULL,'Bloodfalcon'), +(1815500,4,-12.779606,283.8108,-0.5313738,NULL,'Bloodfalcon'), +(1815500,5,-23.234816,285.8802,-1.8473223,NULL,'Bloodfalcon'), +(1815500,6,-29.06995,287.01328,-1.8473244,NULL,'Bloodfalcon'), +(1815500,7,-28.19163,288.61743,-1.8473233,NULL,'Bloodfalcon'), +(1815501,1,-32.633892,313.6926,-2.9892433,NULL,'Bloodfalcon'), +(1815501,2,-36.44413,294.66745,-1.8473231,NULL,'Bloodfalcon'), +(1815501,3,-42.860966,291.474,-1.8473233,NULL,'Bloodfalcon'), +(1815501,4,-42.836784,283.74088,-1.8473245,NULL,'Bloodfalcon'), +(1815501,5,-29.824219,283.9159,-1.8473248,NULL,'Bloodfalcon'), +(1815501,6,-29.392775,291.65842,-1.8473237,NULL,'Bloodfalcon'), +(1815501,7,-36.823017,294.92844,-1.847323,NULL,'Bloodfalcon'), +(1815502,1,-30.482723,259.80405,-3.4442947,NULL,'Bloodfalcon'), +(1815502,2,-36.03879,280.80167,-1.8473252,NULL,'Bloodfalcon'), +(1815502,3,-30.454828,284.31418,-1.8473248,NULL,'Bloodfalcon'), +(1815502,4,-30.297646,292.20926,-1.8473235,NULL,'Bloodfalcon'), +(1815502,5,-36.54842,295.91965,-1.8473228,NULL,'Bloodfalcon'), +(1815502,6,-43.99062,283.76346,-1.8473245,NULL,'Bloodfalcon'), +(1815502,7,-36.486675,280.83936,-1.8473252,NULL,'Bloodfalcon'), +(1815503,1,85.99113,289.54016,-5.441046,NULL,'Bloodfalcon'), +(1815503,2,79.673256,286.72223,-5.466302,NULL,'Bloodfalcon'), +(1815503,3,77.98022,270.55414,-5.47999,NULL,'Bloodfalcon'), +(1815503,4,84.07146,264.81665,-5.459437,NULL,'Bloodfalcon'), +(1815503,5,92.041145,267.70798,-5.4278765,NULL,'Bloodfalcon'), +(1815503,6,99.9794,272.1951,-6.95119,NULL,'Bloodfalcon'), +(1815503,7,100.84679,280.37253,-6.861873,NULL,'Bloodfalcon'), +(1815504,1,106.60388,296.39322,-6.722094,NULL,'Bloodfalcon'), +(1815504,2,114.86026,296.71304,-5.403351,NULL,'Bloodfalcon'), +(1815504,3,120.55673,289.947,-5.4101934,NULL,'Bloodfalcon'), +(1815504,4,119.758934,278.0228,-5.4230533,NULL,'Bloodfalcon'), +(1815504,5,114.74198,276.31375,-6.958809,NULL,'Bloodfalcon'), +(1815504,6,109.52783,279.67487,-6.901642,NULL,'Bloodfalcon'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 17994); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(17994, 0, 0, 1, 0, 0, 100, 512, 2000, 4000, 15000, 15000, 0, 64, 1, 0, 0, 0, 0, 0, 5, 40, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Store Targetlist'), +(17994, 0, 1, 2, 61, 0, 100, 512, 0, 0, 0, 0, 0, 11, 34852, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Cast \'Call of the Falcon\''), +(17994, 0, 2, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Say Line 0'), +(17994, 0, 3, 0, 0, 0, 100, 0, 4000, 6000, 22000, 25000, 0, 11, 31567, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Cast \'Deterrence\''), +(17994, 0, 4, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 34879, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Cast \'Multi-Shot\''), +(17994, 0, 5, 0, 2, 0, 100, 0, 0, 5, 10000, 10000, 0, 11, 32908, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Between 0-5% Health - Cast \'Wing Clip\''); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-(@CGUID+27), -(@CGUID+28))); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-(@CGUID+27), 0, 0, 1, 0, 0, 100, 512, 2000, 4000, 15000, 15000, 0, 64, 1, 0, 0, 0, 0, 0, 5, 40, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Store Targetlist'), +(-(@CGUID+27), 0, 1, 2, 61, 0, 100, 512, 0, 0, 0, 0, 0, 11, 34852, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Cast \'Call of the Falcon\''), +(-(@CGUID+27), 0, 2, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Say Line 1'), +(-(@CGUID+27), 0, 3, 0, 0, 0, 100, 0, 4000, 6000, 22000, 25000, 0, 11, 31567, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Cast \'Deterrence\''), +(-(@CGUID+27), 0, 4, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 34879, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Cast \'Multi-Shot\''), +(-(@CGUID+27), 0, 5, 0, 2, 0, 100, 0, 0, 5, 10000, 10000, 0, 11, 32908, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Between 0-5% Health - Cast \'Wing Clip\''), +(-(@CGUID+27), 0, 1001, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - On Data Set 1 1 - Set Event Phase 1'), +(-(@CGUID+27), 0, 1002, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - On Respawn - Set Event Phase 1'), +(-(@CGUID+27), 0, 1003, 1004, 1, 1, 100, 0, 1200, 10000, 1200, 10000, 0, 87, 1799400, 1799401, 1799402, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Out of Combat - Run Random Script (Phase 1)'), +(-(@CGUID+27), 0, 1004, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - On Link - Set Event Phase 0 (Phase 1)'), + +(-(@CGUID+28), 0, 0, 1, 0, 0, 100, 512, 2000, 4000, 15000, 15000, 0, 64, 1, 0, 0, 0, 0, 0, 5, 40, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Store Targetlist'), +(-(@CGUID+28), 0, 1, 2, 61, 0, 100, 512, 0, 0, 0, 0, 0, 11, 34852, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Cast \'Call of the Falcon\''), +(-(@CGUID+28), 0, 2, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Say Line 1'), +(-(@CGUID+28), 0, 3, 0, 0, 0, 100, 0, 4000, 6000, 22000, 25000, 0, 11, 31567, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Cast \'Deterrence\''), +(-(@CGUID+28), 0, 4, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 34879, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - In Combat - Cast \'Multi-Shot\''), +(-(@CGUID+28), 0, 5, 0, 2, 0, 100, 0, 0, 5, 10000, 10000, 0, 11, 32908, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Between 0-5% Health - Cast \'Wing Clip\''), +(-(@CGUID+28), 0, 1001, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - On Data Set 1 1 - Set Event Phase 1'), +(-(@CGUID+28), 0, 1002, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - On Respawn - Set Event Phase 1'), +(-(@CGUID+28), 0, 1003, 1004, 1, 1, 100, 0, 1200, 10000, 1200, 10000, 0, 87, 1799403, 1799404, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Out of Combat - Run Random Script (Phase 1)'), +(-(@CGUID+28), 0, 1004, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - On Link - Set Event Phase 0 (Phase 1)'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` BETWEEN 1799400 AND 1799404); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1799400, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 6.2657318115234375, 'Bloodwarder Falconer - Actionlist - Set Orientation 6.2657318115234375'), +(1799400, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Actionlist - Say Line 0'), +(1799400, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 147029, 18155, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Actionlist - Set Data 1 1'), + +(1799401, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 1.570796370506286621, 'Bloodwarder Falconer - Actionlist - Set Orientation 1.570796370506286621'), +(1799401, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Actionlist - Say Line 0'), +(1799401, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 147031, 18155, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Actionlist - Set Data 1 1'), + +(1799402, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 4.78220224380493164, 'Bloodwarder Falconer - Actionlist - Set Orientation 4.78220224380493164'), +(1799402, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Actionlist - Say Line 0'), +(1799402, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 147034, 18155, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Actionlist - Set Data 1 1'), + +(1799403, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 2.932153224945068359, 'Bloodwarder Falconer - Actionlist - Set Orientation 2.932153224945068359'), +(1799403, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Actionlist - Say Line 0'), +(1799403, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 147030, 18155, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Actionlist - Set Data 1 1'), + +(1799404, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0.837758064270019531, 'Bloodwarder Falconer - Actionlist - Set Orientation 0.837758064270019531'), +(1799404, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Actionlist - Say Line 0'), +(1799404, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 147032, 18155, 0, 0, 0, 0, 0, 0, 'Bloodwarder Falconer - Actionlist - Set Data 1 1'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18155); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(18155, 0, 0, 0, 9, 0, 100, 0, 8, 25, 10000, 10000, 0, 11, 32323, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - Within 8-25 Range - Cast \'Charge\''), +(18155, 0, 1, 0, 13, 0, 100, 0, 15000, 15000, 0, 0, 0, 11, 18144, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Victim Casting \'null\' - Cast \'Swoop\''), +(18155, 0, 2, 0, 0, 0, 100, 0, 1000, 6000, 20000, 25000, 0, 11, 34856, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - In Combat - Cast \'Bloodburn\''), +(18155, 0, 3, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 89, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Respawn - Start Random Movement'), +(18155, 0, 4, 0, 58, 0, 100, 0, 7, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 17994, 20, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Waypoint Finished - Set Data 1 1'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-(@CGUID+29), -(@CGUID+31), -(@CGUID+34), -(@CGUID+30), -(@CGUID+32))); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-(@CGUID+29), 0, 0, 0, 9, 0, 100, 0, 8, 25, 10000, 10000, 0, 11, 32323, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - Within 8-25 Range - Cast \'Charge\''), +(-(@CGUID+29), 0, 1, 0, 13, 0, 100, 0, 15000, 15000, 0, 0, 0, 11, 18144, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Victim Casting \'null\' - Cast \'Swoop\''), +(-(@CGUID+29), 0, 2, 0, 0, 0, 100, 0, 1000, 6000, 20000, 25000, 0, 11, 34856, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - In Combat - Cast \'Bloodburn\''), +(-(@CGUID+29), 0, 3, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 89, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Respawn - Start Random Movement'), +(-(@CGUID+29), 0, 4, 0, 58, 0, 100, 0, 7, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 17994, 20, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Waypoint Finished - Set Data 1 1'), +(-(@CGUID+29), 0, 1001, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 53, 1, 1815500, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Data Set 1 1 - Start Waypoint'), + +(-(@CGUID+31), 0, 0, 0, 9, 0, 100, 0, 8, 25, 10000, 10000, 0, 11, 32323, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - Within 8-25 Range - Cast \'Charge\''), +(-(@CGUID+31), 0, 1, 0, 13, 0, 100, 0, 15000, 15000, 0, 0, 0, 11, 18144, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Victim Casting \'null\' - Cast \'Swoop\''), +(-(@CGUID+31), 0, 2, 0, 0, 0, 100, 0, 1000, 6000, 20000, 25000, 0, 11, 34856, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - In Combat - Cast \'Bloodburn\''), +(-(@CGUID+31), 0, 3, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 89, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Respawn - Start Random Movement'), +(-(@CGUID+31), 0, 4, 0, 58, 0, 100, 0, 7, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 17994, 20, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Waypoint Finished - Set Data 1 1'), +(-(@CGUID+31), 0, 1001, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 53, 1, 1815501, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Data Set 1 1 - Start Waypoint'), + +(-(@CGUID+34), 0, 0, 0, 9, 0, 100, 0, 8, 25, 10000, 10000, 0, 11, 32323, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - Within 8-25 Range - Cast \'Charge\''), +(-(@CGUID+34), 0, 1, 0, 13, 0, 100, 0, 15000, 15000, 0, 0, 0, 11, 18144, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Victim Casting \'null\' - Cast \'Swoop\''), +(-(@CGUID+34), 0, 2, 0, 0, 0, 100, 0, 1000, 6000, 20000, 25000, 0, 11, 34856, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - In Combat - Cast \'Bloodburn\''), +(-(@CGUID+34), 0, 3, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 89, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Respawn - Start Random Movement'), +(-(@CGUID+34), 0, 4, 0, 58, 0, 100, 0, 7, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 17994, 20, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Waypoint Finished - Set Data 1 1'), +(-(@CGUID+34), 0, 1001, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 53, 1, 1815502, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Data Set 1 1 - Start Waypoint'), + +(-(@CGUID+30), 0, 0, 0, 9, 0, 100, 0, 8, 25, 10000, 10000, 0, 11, 32323, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - Within 8-25 Range - Cast \'Charge\''), +(-(@CGUID+30), 0, 1, 0, 13, 0, 100, 0, 15000, 15000, 0, 0, 0, 11, 18144, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Victim Casting \'null\' - Cast \'Swoop\''), +(-(@CGUID+30), 0, 2, 0, 0, 0, 100, 0, 1000, 6000, 20000, 25000, 0, 11, 34856, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - In Combat - Cast \'Bloodburn\''), +(-(@CGUID+30), 0, 3, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 89, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Respawn - Start Random Movement'), +(-(@CGUID+30), 0, 4, 0, 58, 0, 100, 0, 7, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 17994, 20, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Waypoint Finished - Set Data 1 1'), +(-(@CGUID+30), 0, 1001, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 53, 1, 1815503, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Data Set 1 1 - Start Waypoint'), + +(-(@CGUID+32), 0, 0, 0, 9, 0, 100, 0, 8, 25, 10000, 10000, 0, 11, 32323, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - Within 8-25 Range - Cast \'Charge\''), +(-(@CGUID+32), 0, 1, 0, 13, 0, 100, 0, 15000, 15000, 0, 0, 0, 11, 18144, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Victim Casting \'null\' - Cast \'Swoop\''), +(-(@CGUID+32), 0, 2, 0, 0, 0, 100, 0, 1000, 6000, 20000, 25000, 0, 11, 34856, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - In Combat - Cast \'Bloodburn\''), +(-(@CGUID+32), 0, 3, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 89, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Respawn - Start Random Movement'), +(-(@CGUID+32), 0, 4, 0, 58, 0, 100, 0, 6, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 17994, 20, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Waypoint Finished - Set Data 1 1'), +(-(@CGUID+32), 0, 1001, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 53, 1, 1815504, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodfalcon - On Data Set 1 1 - Start Waypoint'); + +DELETE FROM `creature_text` WHERE `CreatureID`=17994; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `Text`, `Type`, `Probability`, `Emote`, `BroadcastTextId`, `comment`) VALUES +(17994, 0, 'Do as I say, Fly!', 12, 100, 25, 16783, 'Bloodwarder Falconer'), +(17994, 1, 'Kill $n!', 14, 100, 0, 17624, 'Bloodwarder Falconer'); + +-- Sunseeker Researcher +DELETE FROM `waypoints` WHERE `point_comment`='Sunseeker Researcher' AND `entry` BETWEEN 1842100 AND 1842101; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `point_comment`) VALUES +-- Go +(1842100,1,158.66127,492.3432,-4.393021,NULL,'Sunseeker Researcher'), +(1842100,2,156.15257,489.36734,-4.8574643,NULL,'Sunseeker Researcher'), +(1842100,3,150.52888,483.8496,-4.5219054,NULL,'Sunseeker Researcher'), +(1842100,4,138.15617,471.4412,-1.7105865,NULL,'Sunseeker Researcher'), +(1842100,5,125.0919,458.282,-4.0026045,NULL,'Sunseeker Researcher'), +(1842100,6,121.70873,455.64517,-4.806524,NULL,'Sunseeker Researcher'), +-- Return +(1842101,1,130.02815,463.01624,-2.582287,NULL,'Sunseeker Researcher'), +(1842101,2,136.78746,469.63675,-1.535325,NULL,'Sunseeker Researcher'), +(1842101,3,143.60991,477.3061,-2.8752491,NULL,'Sunseeker Researcher'), +(1842101,4,151.29646,484.3168,-4.5590487,NULL,'Sunseeker Researcher'), +(1842101,5,157.28519,490.94662,-4.8154874,NULL,'Sunseeker Researcher'), +(1842101,6,158.17474,496.27377,-3.8682454,NULL,'Sunseeker Researcher'), +(1842101,7,159.99934,499.248,-2.3276987,NULL,'Sunseeker Researcher'), +(1842101,8,164.13808,501.65262,-2.169621,0.418879032135009765,'Sunseeker Researcher'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -(@CGUID+58)); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-(@CGUID+58), 0, 0, 0, 0, 0, 100, 0, 0, 0, 30000, 30000, 0, 11, 34355, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - In Combat - Cast \'Poison Shield\''), +(-(@CGUID+58), 0, 1, 0, 0, 0, 70, 0, 2000, 2000, 10000, 14000, 0, 11, 34352, 0, 0, 0, 0, 0, 5, 20, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - In Combat - Cast \'Mind Shock\''), +(-(@CGUID+58), 0, 2, 0, 0, 0, 70, 0, 5000, 5000, 10000, 14000, 0, 11, 34353, 0, 0, 0, 0, 0, 5, 20, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - In Combat - Cast \'Frost Shock\''), +(-(@CGUID+58), 0, 3, 0, 0, 0, 70, 0, 8000, 8000, 10000, 14000, 0, 11, 34354, 0, 0, 0, 0, 0, 5, 20, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - In Combat - Cast \'Flame Shock\''), +(-(@CGUID+58), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - On Respawn - Set Event Phase 1'), +(-(@CGUID+58), 0, 1002, 1003, 1, 1, 100, 0, 10000, 60000, 10000, 60000, 0, 53, 0, 1842100, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - Out of Combat - Start Waypoint (Phase 1)'), +(-(@CGUID+58), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - Out of Combat - Set Event Phase 0 (Phase 1)'), +(-(@CGUID+58), 0, 1004, 0, 58, 0, 100, 0, 6, 1842100, 0, 0, 0, 80, 1842100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - On Waypoint Finished - Run Script'), +(-(@CGUID+58), 0, 1005, 0, 58, 0, 100, 0, 8, 1842101, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - On Waypoint Finished - Set Event Phase 1'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 1842100); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1842100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 17975, 15, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - Actionlist - Set Orientation Closest Creature \'High Botanist Freywinn\''), +(1842100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - Actionlist - Say Line 0'), +(1842100, 9, 2, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 17975, 15, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - Actionlist - Set Orientation Closest Creature \'High Botanist Freywinn\''), +(1842100, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - Actionlist - Say Line 0'), +(1842100, 9, 4, 0, 0, 0, 100, 0, 10000, 10000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - Actionlist - Say Line 1'), +(1842100, 9, 5, 0, 0, 0, 100, 0, 2200, 2200, 0, 0, 0, 53, 0, 1842101, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Researcher - Actionlist - Start Waypoint'); + +DELETE FROM `creature_text` WHERE `CreatureID`=18421; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `Text`, `Type`, `Probability`, `Emote`, `BroadcastTextId`, `comment`) VALUES +(18421, 0, 'High Botanist?', 12, 100, 6, 16942, 'Sunseeker Researcher'), +(18421, 1, '%s sighs.', 16, 100, 0, 16944, 'Sunseeker Researcher'); + +-- Sunseeker Channeler +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 13) AND (`SourceEntry` IN (34156, 34200, 34221)); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 34156, 0, 0, 31, 0, 3, 19555, 0, 0, 0, 0, '', 'Crystal Channel (34156) targets TK Atrium Channel Target'), +(13, 1, 34200, 0, 0, 31, 0, 3, 19511, 0, 0, 0, 0, '', 'Crystal Channel (34200) targets Nethervine Inciter'), +(13, 1, 34221, 0, 0, 31, 0, 3, 19555, 0, 0, 0, 0, '', 'Crystal Channel (34156) targets TK Atrium Channel Target'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 19505); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(19505, 0, 0, 0, 0, 0, 100, 0, 7000, 10000, 20000, 24000, 0, 11, 34222, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Sunseeker Blessing\''), +(19505, 0, 1, 0, 0, 0, 100, 0, 12000, 15000, 30000, 34000, 0, 11, 34634, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Sunseeker Aura\''), +(19505, 0, 2, 0, 0, 0, 100, 0, 2000, 10000, 15000, 24000, 0, 11, 34637, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Soul Channel\''), +(19505, 0, 3, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 11, 34156, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - On Data Set 1 1 - Cast \'Crystal Channel\''), +(19505, 0, 4, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 5, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - On Data Set 2 2 - Play Emote 11'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-(@CGUID+91), -(@CGUID+94))); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-(@CGUID+91), 0, 0, 0, 0, 0, 100, 0, 7000, 10000, 20000, 24000, 0, 11, 34222, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Sunseeker Blessing\''), +(-(@CGUID+91), 0, 1, 0, 0, 0, 100, 0, 12000, 15000, 30000, 34000, 0, 11, 34634, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Sunseeker Aura\''), +(-(@CGUID+91), 0, 2, 0, 0, 0, 100, 0, 2000, 10000, 15000, 24000, 0, 11, 34637, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Soul Channel\''), +(-(@CGUID+91), 0, 3, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 11, 34156, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - On Data Set 1 1 - Cast \'Crystal Channel\''), +(-(@CGUID+91), 0, 4, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 5, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - On Data Set 2 2 - Play Emote 11'), +(-(@CGUID+91), 0, 1001, 0, 1, 0, 100, 0, 0, 30000, 68000, 100000, 0, 80, 1950500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Out of Combat - Run Script'), + +(-(@CGUID+94), 0, 0, 0, 0, 0, 100, 0, 7000, 10000, 20000, 24000, 0, 11, 34222, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Sunseeker Blessing\''), +(-(@CGUID+94), 0, 1, 0, 0, 0, 100, 0, 12000, 15000, 30000, 34000, 0, 11, 34634, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Sunseeker Aura\''), +(-(@CGUID+94), 0, 2, 0, 0, 0, 100, 0, 2000, 10000, 15000, 24000, 0, 11, 34637, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Soul Channel\''), +(-(@CGUID+94), 0, 3, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 11, 34156, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - On Data Set 1 1 - Cast \'Crystal Channel\''), +(-(@CGUID+94), 0, 4, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 5, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - On Data Set 2 2 - Play Emote 11'), +(-(@CGUID+94), 0, 1001, 0, 1, 0, 100, 0, 0, 30000, 68000, 100000, 0, 80, 1950500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Out of Combat - Run Script'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 1950500); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1950500, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 34156, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Cast \'Crystal Channel\''), +(1950500, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 26, 7, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Set Data 1 1'), +(1950500, 9, 2, 0, 0, 0, 100, 0, 12200, 12200, 0, 0, 0, 11, 34200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Cast \'Crystal Channel\''), +(1950500, 9, 3, 0, 0, 0, 100, 0, 7100, 7100, 0, 0, 0, 5, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Play Emote 11'), +(1950500, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 26, 7, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Set Data 2 2'); + +DELETE FROM `waypoints` WHERE `point_comment`='Sunseeker Channeler' AND `entry` BETWEEN 1950500 AND 1950503; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `point_comment`) VALUES +-- Left go +(1950500,1,-5.630207,580.3536,-17.832804,NULL,'Sunseeker Channeler'), +(1950500,2,-5.105361,573.27606,-17.917185,NULL,'Sunseeker Channeler'), +-- Left return +(1950501,1,-6.470564,582.909,-17.803976,NULL,'Sunseeker Channeler'), +(1950501,2,-9.860264,588.5002,-17.744814,2.115804195404052734,'Sunseeker Channeler'), +-- Right go +(1950502,1,17.958559,579.54846,-17.843096,NULL,'Sunseeker Channeler'), +(1950502,2,18.16002,574.67346,-17.937551,NULL,'Sunseeker Channeler'), +-- Right return +(1950503,1,18.734104,581.6368,-17.843632,NULL,'Sunseeker Channeler'), +(1950503,2,20.113728,588.08594,-17.759863,1.360049724578857421,'Sunseeker Channeler'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-(@CGUID+90), -(@CGUID+95))); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-(@CGUID+90), 0, 0, 0, 0, 0, 100, 0, 7000, 10000, 20000, 24000, 0, 11, 34222, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Sunseeker Blessing\''), +(-(@CGUID+90), 0, 1, 0, 0, 0, 100, 0, 12000, 15000, 30000, 34000, 0, 11, 34634, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Sunseeker Aura\''), +(-(@CGUID+90), 0, 2, 0, 0, 0, 100, 0, 2000, 10000, 15000, 24000, 0, 11, 34637, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Soul Channel\''), +(-(@CGUID+90), 0, 3, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 11, 34156, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - On Data Set 1 1 - Cast \'Crystal Channel\''), +(-(@CGUID+90), 0, 4, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 5, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - On Data Set 2 2 - Play Emote 11'), +(-(@CGUID+90), 0, 1001, 0, 1, 0, 100, 0, 0, 60000, 60000, 65000, 0, 80, 1950501, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Out of Combat - Run Script'), +(-(@CGUID+90), 0, 1002, 0, 58, 0, 100, 0, 2, 1950500, 0, 0, 0, 80, 1950502, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - On Waypoint Finished - Run Script'), + +(-(@CGUID+95), 0, 0, 0, 0, 0, 100, 0, 7000, 10000, 20000, 24000, 0, 11, 34222, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Sunseeker Blessing\''), +(-(@CGUID+95), 0, 1, 0, 0, 0, 100, 0, 12000, 15000, 30000, 34000, 0, 11, 34634, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Sunseeker Aura\''), +(-(@CGUID+95), 0, 2, 0, 0, 0, 100, 0, 2000, 10000, 15000, 24000, 0, 11, 34637, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - In Combat - Cast \'Soul Channel\''), +(-(@CGUID+95), 0, 3, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 11, 34156, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - On Data Set 1 1 - Cast \'Crystal Channel\''), +(-(@CGUID+95), 0, 4, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 5, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - On Data Set 2 2 - Play Emote 11'), +(-(@CGUID+95), 0, 1001, 0, 1, 0, 100, 0, 0, 60000, 60000, 65000, 0, 80, 1950503, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Out of Combat - Run Script'), +(-(@CGUID+95), 0, 1002, 0, 58, 0, 100, 0, 2, 1950502, 0, 0, 0, 80, 1950504, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - On Waypoint Finished - Run Script'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` IN (1950501, 1950502, 1950503, 1950504)); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1950501, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 34221, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Cast \'Crystal Channel\''), +(1950501, 9, 1, 0, 0, 0, 100, 0, 25000, 25000, 0, 0, 0, 53, 0, 1950500, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Start Waypoint'), +(1950501, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 28, 34221, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Remove Aura \'Crystal Channel\''), + +(1950502, 9, 0, 0, 0, 0, 100, 0, 3600, 3600, 0, 0, 0, 11, 34222, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Cast \'Sunseeker Blessing\''), +(1950502, 9, 1, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 53, 0, 1950501, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Start Waypoint'), + +(1950503, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 34221, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Cast \'Crystal Channel\''), +(1950503, 9, 1, 0, 0, 0, 100, 0, 25000, 25000, 0, 0, 0, 53, 0, 1950502, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Start Waypoint'), +(1950503, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 28, 34221, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Remove Aura \'Crystal Channel\''), + +(1950504, 9, 0, 0, 0, 0, 100, 0, 3600, 3600, 0, 0, 0, 11, 34222, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Cast \'Sunseeker Blessing\''), +(1950504, 9, 1, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 53, 0, 1950503, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunseeker Channeler - Actionlist - Start Waypoint'); + +-- Satyrs cast 34173 on self when hit by 34200 or 34222 +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 19511); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(19511, 0, 0, 0, 0, 0, 100, 0, 7000, 10000, 20000, 24000, 0, 11, 34616, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Nethervine Inciter - In Combat - Cast \'Deadly Poison\''), +(19511, 0, 1, 0, 0, 0, 100, 0, 1000, 3000, 30000, 34000, 0, 11, 34615, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Nethervine Inciter - In Combat - Cast \'Mind-numbing Poison\''), +(19511, 0, 2, 0, 0, 0, 100, 0, 2000, 10000, 15000, 24000, 0, 11, 30621, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Nethervine Inciter - In Combat - Cast \'Kidney Shot\''), +(19511, 0, 3, 0, 8, 0, 100, 0, 34222, 0, 1200, 1200, 0, 11, 34173, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nethervine Inciter - On Spellhit \'Sunseeker Blessing\' - Cast \'Sunseeker Blessing\''), +(19511, 0, 4, 0, 8, 0, 100, 0, 34200, 0, 1200, 1200, 0, 11, 34173, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nethervine Inciter - On Spellhit \'Crystal Channel\' - Cast \'Sunseeker Blessing\''); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 19512); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(19512, 0, 0, 0, 1, 0, 50, 0, 5000, 20000, 30000, 30000, 0, 11, 34156, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nethervine Reaper - Out of Combat - Cast \'Crystal Channel\''), +(19512, 0, 1, 0, 0, 0, 100, 0, 2000, 6000, 10000, 15000, 0, 11, 15284, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Nethervine Reaper - In Combat - Cast \'Cleave\''), +(19512, 0, 2, 0, 8, 0, 100, 0, 34222, 0, 1200, 1200, 0, 11, 34173, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nethervine Inciter - On Spellhit \'Sunseeker Blessing\' - Cast \'Sunseeker Blessing\''), +(19512, 0, 3, 0, 8, 0, 100, 0, 34200, 0, 1200, 1200, 0, 11, 34173, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nethervine Inciter - On Spellhit \'Crystal Channel\' - Cast \'Sunseeker Blessing\''); + +-- Dead Gene-Splicers +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 19507) AND (`source_type` = 0) AND (`id` IN (2)); + +DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+96 ,@CGUID+97 ,@CGUID+98 ,@CGUID+99 ,@CGUID+100,@CGUID+101,@CGUID+102,@CGUID+103,@CGUID+104,@CGUID+105,@CGUID+106,@CGUID+107); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(@CGUID+96 , 0, 0, 7, 0, 65, 0, NULL), +(@CGUID+97 , 0, 0, 7, 0, 65, 0, NULL), +(@CGUID+98 , 0, 0, 7, 0, 65, 0, NULL), +(@CGUID+99 , 0, 0, 7, 0, 65, 0, NULL), +(@CGUID+100, 0, 0, 7, 0, 65, 0, NULL), +(@CGUID+101, 0, 0, 7, 0, 65, 0, NULL), +(@CGUID+102, 0, 0, 7, 0, 65, 0, NULL), +(@CGUID+103, 0, 0, 7, 0, 65, 0, NULL), +(@CGUID+104, 0, 0, 7, 0, 65, 0, NULL), +(@CGUID+105, 0, 0, 7, 0, 65, 0, NULL), +(@CGUID+106, 0, 0, 7, 0, 65, 0, NULL), +(@CGUID+107, 0, 0, 7, 0, 65, 0, NULL); + +DELETE FROM `waypoints` WHERE `point_comment`='Bloodwarder Protector' AND `entry` BETWEEN 1799300 AND 1799313; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `point_comment`) VALUES +-- @CGUID+19 +(1799300,1,5.7746835,59.15512,-5.463491,NULL,'Bloodwarder Protector'), +(1799300,2,3.708891,59.154926,-5.5573835,NULL,'Bloodwarder Protector'), +(1799300,3,1.6430982,59.15473,-5.651276,NULL,'Bloodwarder Protector'), +(1799300,4,0.29167658,59.154602,-5.6744356,NULL,'Bloodwarder Protector'), +(1799300,5,0.24531683,56.65638,-5.6514306,NULL,'Bloodwarder Protector'), +(1799300,6,0.13369003,50.64106,-5.650581,NULL,'Bloodwarder Protector'), +(1799300,7,0.07970157,47.731743,-5.508974,NULL,'Bloodwarder Protector'), +(1799300,8,0.06524,46.952442,-5.6114807,NULL,'Bloodwarder Protector'), +(1799300,9,2.616398,46.717686,-5.6120386,4.817108631134033,'Bloodwarder Protector'), +-- @CGUID+21 +(1799301,1,-8.353355,59.346046,-5.4726477,NULL,'Bloodwarder Protector'), +(1799301,2,-6.334253,59.407036,-5.5588064,NULL,'Bloodwarder Protector'), +(1799301,3,-4.31515,59.468025,-5.644965,NULL,'Bloodwarder Protector'), +(1799301,4,-2.545163,59.521492,-5.6595936,NULL,'Bloodwarder Protector'), +(1799301,5,-2.500346,57.27325,-5.653243,NULL,'Bloodwarder Protector'), +(1799301,6,-2.3677022,50.619164,-5.6505823,NULL,'Bloodwarder Protector'), +(1799301,7,-2.3097265,47.710815,-5.508974,NULL,'Bloodwarder Protector'), +(1799301,8,-2.28679,46.5602,-5.6193786,NULL,'Bloodwarder Protector'), +(1799301,9,-5.080652,46.597015,-5.6218123,4.817108631134033,'Bloodwarder Protector'), +-- @CGUID+22 +(1799302,1,11.51519,97.85166,-5.4874277,NULL,'Bloodwarder Protector'), +(1799302,2,8.475217,99.61279,-5.5540433,NULL,'Bloodwarder Protector'), +(1799302,3,5.435243,101.373924,-5.620659,NULL,'Bloodwarder Protector'), +(1799302,4,1.004796,103.94058,-5.6249914,NULL,'Bloodwarder Protector'), +(1799302,5,0.660349,104.14013,-5.6080203,NULL,'Bloodwarder Protector'), +(1799302,6,0.660349,104.14013,-5.6080203,NULL,'Bloodwarder Protector'), +(1799302,7,-0.022206,89.449295,-5.6595817,4.817108631134033,'Bloodwarder Protector'), +-- @CGUID+23 +(1799303,1,-13.440834,98.251755,-5.611049,NULL,'Bloodwarder Protector'), +(1799303,2,-9.540711,100.50602,-5.5573215,NULL,'Bloodwarder Protector'), +(1799303,3,-5.6405883,102.760284,-5.503594,NULL,'Bloodwarder Protector'), +(1799303,4,-3.2292671,104.15403,-5.527762,NULL,'Bloodwarder Protector'), +(1799303,5,-2.998425,104.28745,-5.6285086,NULL,'Bloodwarder Protector'), +(1799303,6,-2.998425,104.28745,-5.6285086,NULL,'Bloodwarder Protector'), +(1799303,7,-2.644504,89.42896,-5.659579,4.817108631134033,'Bloodwarder Protector'), +-- @CGUID+20 +(1799304,1,2.362805,147.59216,-5.540365,NULL,'Bloodwarder Protector'), +(1799304,2,1.4508866,134.90887,-5.5403733,NULL,'Bloodwarder Protector'), +(1799304,3,4.29729,131.94543,-5.540382,4.729842185974121093,'Bloodwarder Protector'), +-- @CGUID+24 +(1799305,1,-4.11074,148.59384,-5.5403647,NULL,'Bloodwarder Protector'), +(1799305,2,-2.929497,133.55092,-5.5403686,NULL,'Bloodwarder Protector'), +(1799305,3,-5.799148,131.35872,-5.5403614,4.729842185974121093,'Bloodwarder Protector'), +-- @CGUID+18 +(1799306,1 ,32.371803,285.14008,-5.3366117,NULL,'Bloodwarder Protector'), +(1799306,2 ,32.621803,287.14008,-5.3366117,NULL,'Bloodwarder Protector'), +(1799306,3 ,30.121803,287.14008,-5.3366117,NULL,'Bloodwarder Protector'), +(1799306,4 ,29.371803,287.14008,-5.3366117,NULL,'Bloodwarder Protector'), +(1799306,5 ,26.896982,287.0706,-4.1127753,NULL,'Bloodwarder Protector'), +(1799306,6 ,23.770767,286.69357,-1.7302599,NULL,'Bloodwarder Protector'), +(1799306,7 ,21.520767,286.69357,-1.7302599,NULL,'Bloodwarder Protector'), +(1799306,8 ,20.110651,286.30273,-1.8092577,NULL,'Bloodwarder Protector'), +(1799306,9 ,17.292475,284.6513,-1.4869981,NULL,'Bloodwarder Protector'), +(1799306,10,16.271194,284.02432,-1.5828131,3.071779489517211914,'Bloodwarder Protector'), +-- @CGUID+06 +(1799307,1,33.169704,289.29724,-5.1912584,NULL,'Bloodwarder Protector'), +(1799307,2,32.669704,289.29724,-5.1912584,NULL,'Bloodwarder Protector'), +(1799307,3,29.669704,289.29724,-5.1912584,NULL,'Bloodwarder Protector'), +(1799307,4,29.169704,289.29724,-5.1912584,NULL,'Bloodwarder Protector'), +(1799307,5,23.669704,289.54724,-1.6912587,NULL,'Bloodwarder Protector'), +(1799307,6,22.919704,289.54724,-1.6912587,NULL,'Bloodwarder Protector'), +(1799307,7,21.091858,289.26254,-1.8203477,NULL,'Bloodwarder Protector'), +(1799307,8,17.260101,291.32886,-1.6820656,NULL,'Bloodwarder Protector'), +(1799307,9,16.016445,291.94034,-1.5188627,3.071779489517211914,'Bloodwarder Protector'), +-- @CGUID+26 +(1799308,1,-2.520844,231.52274,-5.540374,NULL,'Bloodwarder Protector'), +(1799308,2,-2.5827603,229.59877,-5.270405,NULL,'Bloodwarder Protector'), +(1799308,3,-2.8327603,226.59877,-5.270405,NULL,'Bloodwarder Protector'), +(1799308,4,-3.3327603,216.09877,-5.270405,NULL,'Bloodwarder Protector'), +(1799308,5,-3.372449,213.47765,-5.5403595,NULL,'Bloodwarder Protector'), +(1799308,6,-7.061299,213.17163,-5.54035,4.729842185974121093,'Bloodwarder Protector'), +-- @CGUID+25 +(1799309,1,1.560038,230.91458,-5.540377,NULL,'Bloodwarder Protector'), +(1799309,2,1.6776221,229.287,-5.2722683,NULL,'Bloodwarder Protector'), +(1799309,3,1.6776221,226.287,-5.2722683,NULL,'Bloodwarder Protector'), +(1799309,4,1.6776221,215.787,-5.2722683,NULL,'Bloodwarder Protector'), +(1799309,5,1.471469,212.70377,-5.540376,NULL,'Bloodwarder Protector'), +(1799309,6,1.6818352,213.04912,-5.290371,NULL,'Bloodwarder Protector'), +(1799309,7,6.880586,213.50626,-5.5403757,4.729842185974121093,'Bloodwarder Protector'), +-- @CGUID+5 +(1799310,1,75.063675,286.6582,-5.2814426,NULL,'Bloodwarder Protector'), +(1799310,2,74.063675,286.6582,-5.2814426,NULL,'Bloodwarder Protector'), +(1799310,3,71.063675,286.4082,-5.5314426,NULL,'Bloodwarder Protector'), +(1799310,4,64.313675,285.9082,-5.5314426,NULL,'Bloodwarder Protector'), +(1799310,5,57.563675,285.1582,-5.5314426,NULL,'Bloodwarder Protector'), +(1799310,6,47.614925,284.43405,-5.670856,3.071779489517211914,'Bloodwarder Protector'), +-- @CGUID+7 +(1799311,1,74.85999,290.37897,-5.275877,NULL,'Bloodwarder Protector'), +(1799311,2,74.10999,290.37897,-5.275877,NULL,'Bloodwarder Protector'), +(1799311,3,71.10999,290.62897,-5.525877,NULL,'Bloodwarder Protector'), +(1799311,4,65.35999,290.12897,-5.525877,NULL,'Bloodwarder Protector'), +(1799311,5,63.359993,290.37897,-5.525877,NULL,'Bloodwarder Protector'), +(1799311,6,50.859993,291.87897,-5.525877,NULL,'Bloodwarder Protector'), +(1799311,7,47.417965,291.92233,-5.670514,3.071779489517211914,'Bloodwarder Protector'), +-- Suicider Left +(1799312,1,-161.20561,391.88025,-17.6449,NULL,'Bloodwarder Protector'), +(1799312,2,-162.18033,409.83426,-17.708645,NULL,'Bloodwarder Protector'), +(1799312,3,-162.64375,427.75867,-17.793741,NULL,'Bloodwarder Protector'), +-- Suicider Right +(1799313,1,-166.55185,392.07892,-17.679216,NULL,'Bloodwarder Protector'), +(1799313,2,-168.30185,403.07892,-17.679216,NULL,'Bloodwarder Protector'), +(1799313,3,-169.05185,407.07892,-17.429216,NULL,'Bloodwarder Protector'), +(1799313,4,-169.05185,409.32892,-17.429216,NULL,'Bloodwarder Protector'), +(1799313,5,-171.43996,422.89474,-17.744581,NULL,'Bloodwarder Protector'); + +-- @CGUID+35 +DELETE FROM `waypoints` WHERE `point_comment`='Bloodwarder Steward' AND `entry` BETWEEN 1840400 AND 1840401; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `point_comment`) VALUES +(1840400,1,77.12443,287.8911,-5.4754553,NULL,'Bloodwarder Steward'), +(1840400,2,77.08272,287.98236,-5.266903,NULL,'Bloodwarder Steward'), +(1840400,3,74.08272,287.98236,-5.266903,NULL,'Bloodwarder Steward'), +(1840400,4,71.08272,287.98236,-5.516903,NULL,'Bloodwarder Steward'), +(1840400,5,64.83272,287.98236,-5.516903,NULL,'Bloodwarder Steward'), +(1840400,6,60.832714,287.73236,-5.516903,NULL,'Bloodwarder Steward'), +-- Repeat +(1840401,1,50.185688,282.52002,-5.6333885,NULL,'Bloodwarder Steward'), +(1840401,2,50.01569,292.96957,-5.647004,NULL,'Bloodwarder Steward'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-(@CGUID+19), -(@CGUID+21), -(@CGUID+22), -(@CGUID+23), -(@CGUID+20), -(@CGUID+24), -(@CGUID+26), -(@CGUID+25), -(@CGUID+6), -(@CGUID+18), -(@CGUID+5), -(@CGUID+7))); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-(@CGUID+19), 0, 0, 0, 0, 0, 100, 1, 2000, 4000, 0, 0, 0, 11, 34784, 0, 0, 0, 0, 0, 26, 20, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Intervene\' (No Repeat)'), +(-(@CGUID+19), 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 9000, 11000, 0, 11, 29765, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Crystal Strike\''), +(-(@CGUID+19), 0, 2, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 35399, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Spell Reflection\''), +(-(@CGUID+19), 0, 1001, 0, 58, 0, 100, 1, 9, 1799300, 0, 0, 0, 80, 1799300, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Run Script'), +(-(@CGUID+19), 0, 1002, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 53, 0, 1799300, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Start Waypoint'), +(-(@CGUID+19), 0, 1003, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Set Sheath Unarmed'), + +(-(@CGUID+21), 0, 0, 0, 0, 0, 100, 1, 2000, 4000, 0, 0, 0, 11, 34784, 0, 0, 0, 0, 0, 26, 20, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Intervene\' (No Repeat)'), +(-(@CGUID+21), 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 9000, 11000, 0, 11, 29765, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Crystal Strike\''), +(-(@CGUID+21), 0, 2, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 35399, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Spell Reflection\''), +(-(@CGUID+21), 0, 1001, 0, 58, 0, 100, 1, 9, 1799301, 0, 0, 0, 80, 1799300, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Run Script'), +(-(@CGUID+21), 0, 1002, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 53, 0, 1799301, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Start Waypoint'), +(-(@CGUID+21), 0, 1003, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Set Sheath Unarmed'), + +(-(@CGUID+22), 0, 0, 0, 0, 0, 100, 1, 2000, 4000, 0, 0, 0, 11, 34784, 0, 0, 0, 0, 0, 26, 20, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Intervene\' (No Repeat)'), +(-(@CGUID+22), 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 9000, 11000, 0, 11, 29765, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Crystal Strike\''), +(-(@CGUID+22), 0, 2, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 35399, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Spell Reflection\''), +(-(@CGUID+22), 0, 1001, 0, 58, 0, 100, 1, 7, 1799302, 0, 0, 0, 80, 1799300, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Run Script'), +(-(@CGUID+22), 0, 1002, 0, 38, 0, 100, 1, 1, 1, 0, 0, 0, 53, 0, 1799302, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Data Set 1 1 - Start Waypoint'), +(-(@CGUID+22), 0, 1003, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Set Sheath Unarmed'), +(-(@CGUID+22), 0, 1004, 1005, 10, 0, 100, 1, 0, 45, 0, 0, 1, 45, 1, 1, 0, 0, 0, 0, 10, @CGUID+20, 17993, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Within 0-45 Range Out of Combat LoS - Set Data 1 1'), +(-(@CGUID+22), 0, 1005, 0, 61, 0, 100, 1, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, @CGUID+24, 17993, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Within 0-45 Range Out of Combat LoS - Set Data 1 1'), + +(-(@CGUID+23), 0, 0, 0, 0, 0, 100, 1, 2000, 4000, 0, 0, 0, 11, 34784, 0, 0, 0, 0, 0, 26, 20, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Intervene\' (No Repeat)'), +(-(@CGUID+23), 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 9000, 11000, 0, 11, 29765, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Crystal Strike\''), +(-(@CGUID+23), 0, 2, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 35399, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Spell Reflection\''), +(-(@CGUID+23), 0, 1001, 0, 58, 0, 100, 1, 7, 1799303, 0, 0, 0, 80, 1799300, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Run Script'), +(-(@CGUID+23), 0, 1002, 0, 38, 0, 100, 1, 1, 1, 0, 0, 0, 53, 0, 1799303, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Data Set 1 1 - Start Waypoint'), +(-(@CGUID+23), 0, 1003, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Set Sheath Unarmed'), + +(-(@CGUID+20), 0, 0, 0, 0, 0, 100, 1, 2000, 4000, 0, 0, 0, 11, 34784, 0, 0, 0, 0, 0, 26, 20, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Intervene\' (No Repeat)'), +(-(@CGUID+20), 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 9000, 11000, 0, 11, 29765, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Crystal Strike\''), +(-(@CGUID+20), 0, 2, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 35399, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Spell Reflection\''), +(-(@CGUID+20), 0, 1001, 0, 58, 0, 100, 1, 3, 1799304, 0, 0, 0, 80, 1799301, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Run Script'), +(-(@CGUID+20), 0, 1002, 0, 38, 0, 100, 1, 1, 1, 0, 0, 0, 53, 0, 1799304, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Data Set 1 1 - Start Waypoint'), +(-(@CGUID+20), 0, 1003, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Set Sheath Unarmed'), + +(-(@CGUID+24), 0, 0, 0, 0, 0, 100, 1, 2000, 4000, 0, 0, 0, 11, 34784, 0, 0, 0, 0, 0, 26, 20, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Intervene\' (No Repeat)'), +(-(@CGUID+24), 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 9000, 11000, 0, 11, 29765, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Crystal Strike\''), +(-(@CGUID+24), 0, 2, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 35399, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Spell Reflection\''), +(-(@CGUID+24), 0, 1001, 0, 58, 0, 100, 1, 3, 1799305, 0, 0, 0, 80, 1799301, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Run Script'), +(-(@CGUID+24), 0, 1002, 0, 38, 0, 100, 1, 1, 1, 0, 0, 0, 53, 0, 1799305, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Data Set 1 1 - Start Waypoint'), +(-(@CGUID+24), 0, 1003, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Set Sheath Unarmed'), + +-- (-(@CGUID+26), 0, 0, 0, 0, 0, 100, 1, 2000, 4000, 0, 0, 0, 11, 34784, 0, 0, 0, 0, 0, 26, 20, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Intervene\' (No Repeat)'), +-- (-(@CGUID+26), 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 9000, 11000, 0, 11, 29765, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Crystal Strike\''), +-- (-(@CGUID+26), 0, 2, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 35399, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Spell Reflection\''), +-- (-(@CGUID+26), 0, 1001, 0, 58, 0, 100, 1, 6, 1799308, 0, 0, 0, 80, 1799301, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Run Script'), +-- (-(@CGUID+26), 0, 1002, 0, 38, 0, 100, 1, 1, 1, 0, 0, 0, 53, 0, 1799308, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Data Set 1 1 - Start Waypoint'), +-- (-(@CGUID+26), 0, 1003, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Set Sheath Unarmed'), + +-- (-(@CGUID+25), 0, 0, 0, 0, 0, 100, 1, 2000, 4000, 0, 0, 0, 11, 34784, 0, 0, 0, 0, 0, 26, 20, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Intervene\' (No Repeat)'), +-- (-(@CGUID+25), 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 9000, 11000, 0, 11, 29765, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Crystal Strike\''), +-- (-(@CGUID+25), 0, 2, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 35399, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Spell Reflection\''), +-- (-(@CGUID+25), 0, 1001, 0, 58, 0, 100, 1, 7, 1799309, 0, 0, 0, 80, 1799301, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Run Script'), +-- (-(@CGUID+25), 0, 1002, 0, 38, 0, 100, 1, 1, 1, 0, 0, 0, 53, 0, 1799309, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Data Set 1 1 - Start Waypoint'), +-- (-(@CGUID+25), 0, 1003, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Set Sheath Unarmed'), + +(-(@CGUID+6), 0, 0, 0, 0, 0, 100, 1, 2000, 4000, 0, 0, 0, 11, 34784, 0, 0, 0, 0, 0, 26, 20, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Intervene\' (No Repeat)'), +(-(@CGUID+6), 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 9000, 11000, 0, 11, 29765, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Crystal Strike\''), +(-(@CGUID+6), 0, 2, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 35399, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Spell Reflection\''), +(-(@CGUID+6), 0, 1001, 0, 58, 0, 100, 1, 9, 1799307, 0, 0, 0, 80, 1799302, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Run Script'), +(-(@CGUID+6), 0, 1002, 0, 38, 0, 100, 1, 1, 1, 0, 0, 0, 53, 0, 1799307, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Data Set 1 1 - Start Waypoint'), +(-(@CGUID+6), 0, 1003, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Set Sheath Unarmed'), +(-(@CGUID+6), 0, 1004, 1005, 10, 0, 100, 1, 0, 45, 0, 0, 1, 45, 1, 1, 0, 0, 0, 0, 10, @CGUID+35, 18404, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Within 0-45 Range Out of Combat LoS - Set Data 1 1'), +(-(@CGUID+6), 0, 1005, 1006, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, @CGUID+5, 17993, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Within 0-45 Range Out of Combat LoS - Set Data 1 1'), +(-(@CGUID+6), 0, 1006, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, @CGUID+7, 17993, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Within 0-45 Range Out of Combat LoS - Set Data 1 1'), + +(-(@CGUID+18), 0, 0, 0, 0, 0, 100, 1, 2000, 4000, 0, 0, 0, 11, 34784, 0, 0, 0, 0, 0, 26, 20, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Intervene\' (No Repeat)'), +(-(@CGUID+18), 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 9000, 11000, 0, 11, 29765, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Crystal Strike\''), +(-(@CGUID+18), 0, 2, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 35399, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Spell Reflection\''), +(-(@CGUID+18), 0, 1001, 0, 58, 0, 100, 1, 10, 1799306, 0, 0, 0, 80, 1799302, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Run Script'), +(-(@CGUID+18), 0, 1002, 0, 38, 0, 100, 1, 1, 1, 0, 0, 0, 53, 0, 1799306, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Data Set 1 1 - Start Waypoint'), +(-(@CGUID+18), 0, 1003, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Set Sheath Unarmed'), + +(-(@CGUID+5), 0, 0, 0, 0, 0, 100, 1, 2000, 4000, 0, 0, 0, 11, 34784, 0, 0, 0, 0, 0, 26, 20, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Intervene\' (No Repeat)'), +(-(@CGUID+5), 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 9000, 11000, 0, 11, 29765, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Crystal Strike\''), +(-(@CGUID+5), 0, 2, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 35399, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Spell Reflection\''), +(-(@CGUID+5), 0, 1001, 0, 58, 0, 100, 1, 6, 1799310, 0, 0, 0, 80, 1799302, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Run Script'), +(-(@CGUID+5), 0, 1002, 0, 38, 0, 100, 1, 1, 1, 0, 0, 0, 53, 0, 1799310, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Data Set 1 1 - Start Waypoint'), +(-(@CGUID+5), 0, 1003, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Set Sheath Unarmed'), + +(-(@CGUID+7), 0, 0, 0, 0, 0, 100, 1, 2000, 4000, 0, 0, 0, 11, 34784, 0, 0, 0, 0, 0, 26, 20, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Intervene\' (No Repeat)'), +(-(@CGUID+7), 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 9000, 11000, 0, 11, 29765, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Crystal Strike\''), +(-(@CGUID+7), 0, 2, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 35399, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Spell Reflection\''), +(-(@CGUID+7), 0, 1001, 0, 58, 0, 100, 1, 7, 1799311, 0, 0, 0, 80, 1799302, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Run Script'), +(-(@CGUID+7), 0, 1002, 0, 38, 0, 100, 1, 1, 1, 0, 0, 0, 53, 0, 1799311, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Data Set 1 1 - Start Waypoint'), +(-(@CGUID+7), 0, 1003, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Set Sheath Unarmed'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` IN (1799300, 1799301, 1799302)); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1799300, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 4.817108631134033, 'Bloodwarder Protector - Actionlist - Set Orientation 4.817108631134033'), +(1799300, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Actionlist - Set Home Position'), +(1799300, 9, 2, 0, 0, 0, 100, 0, 800, 800, 0, 0, 0, 5, 66, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Actionlist - Play Emote 66'), +(1799300, 9, 3, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 40, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Actionlist - Set Sheath Melee'), +(1799300, 9, 4, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 17, 333, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Actionlist - Set Emote State 333'), + +(1799301, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 4.729842185974121093, 'Bloodwarder Protector - Actionlist - Set Orientation 4.729842185974121093'), +(1799301, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Actionlist - Set Home Position'), +(1799301, 9, 2, 0, 0, 0, 100, 0, 800, 800, 0, 0, 0, 5, 66, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Actionlist - Play Emote 66'), +(1799301, 9, 3, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 40, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Actionlist - Set Sheath Melee'), +(1799301, 9, 4, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 17, 333, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Actionlist - Set Emote State 333'), + +(1799302, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 3.071779489517211914, 'Bloodwarder Protector - Actionlist - Set Orientation 3.071779489517211914'), +(1799302, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Actionlist - Set Home Position'), +(1799302, 9, 2, 0, 0, 0, 100, 0, 800, 800, 0, 0, 0, 5, 66, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Actionlist - Play Emote 66'), +(1799302, 9, 3, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 40, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Actionlist - Set Sheath Melee'), +(1799302, 9, 4, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 17, 333, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Actionlist - Set Emote State 333'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-(@CGUID+41), -(@CGUID+40), -(@CGUID+39))); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-(@CGUID+41), 0, 0, 0, 0, 0, 100, 0, 2500, 3000, 12500, 13000, 0, 11, 34793, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - In Combat - Cast \'Arcane Blast\''), +(-(@CGUID+41), 0, 1, 0, 2, 0, 100, 1, 60, 80, 0, 0, 0, 11, 34791, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Between 60-80% Health - Cast \'Arcane Explosion\' (No Repeat)'), +(-(@CGUID+41), 0, 2, 0, 2, 0, 100, 1, 20, 40, 0, 0, 0, 11, 34785, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Between 20-40% Health - Cast \'Arcane Volley\' (No Repeat)'), +(-(@CGUID+41), 0, 1001, 1002, 10, 0, 100, 1, 0, 90, 0, 0, 1, 45, 1, 1, 0, 0, 0, 0, 10, @CGUID+22, 17993, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Within 0-90 Range Out of Combat LoS - Set Data 1 1'), +(-(@CGUID+41), 0, 1002, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, @CGUID+23, 17993, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Within 0-90 Range Out of Combat LoS - Set Data 1 1'), + +-- (-(@CGUID+40), 0, 0, 0, 0, 0, 100, 0, 2500, 3000, 12500, 13000, 0, 11, 34793, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - In Combat - Cast \'Arcane Blast\''), +-- (-(@CGUID+40), 0, 1, 0, 2, 0, 100, 1, 60, 80, 0, 0, 0, 11, 34791, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Between 60-80% Health - Cast \'Arcane Explosion\' (No Repeat)'), +-- (-(@CGUID+40), 0, 2, 0, 2, 0, 100, 1, 20, 40, 0, 0, 0, 11, 34785, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Between 20-40% Health - Cast \'Arcane Volley\' (No Repeat)'), +-- (-(@CGUID+40), 0, 1001, 1002, 10, 0, 100, 1, 0, 90, 0, 0, 1, 45, 1, 1, 0, 0, 0, 0, 10, @CGUID+25, 17993, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Within 0-90 Range Out of Combat LoS - Set Data 1 1'), +-- (-(@CGUID+40), 0, 1002, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, @CGUID+26, 17993, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Within 0-90 Range Out of Combat LoS - Set Data 1 1'), + +(-(@CGUID+39), 0, 0, 0, 0, 0, 100, 0, 2500, 3000, 12500, 13000, 0, 11, 34793, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - In Combat - Cast \'Arcane Blast\''), +(-(@CGUID+39), 0, 1, 0, 2, 0, 100, 1, 60, 80, 0, 0, 0, 11, 34791, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Between 60-80% Health - Cast \'Arcane Explosion\' (No Repeat)'), +(-(@CGUID+39), 0, 2, 0, 2, 0, 100, 1, 20, 40, 0, 0, 0, 11, 34785, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Between 20-40% Health - Cast \'Arcane Volley\' (No Repeat)'), +(-(@CGUID+39), 0, 1001, 1002, 10, 0, 100, 1, 0, 90, 0, 0, 1, 45, 1, 1, 0, 0, 0, 0, 10, @CGUID+6, 17993, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Within 0-90 Range Out of Combat LoS - Set Data 1 1'), +(-(@CGUID+39), 0, 1002, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, @CGUID+18, 17993, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Within 0-90 Range Out of Combat LoS - Set Data 1 1'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -(@CGUID+35)); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-(@CGUID+35), 0, 0, 0, 0, 0, 100, 0, 4000, 6000, 15000, 20000, 0, 11, 34821, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Steward - In Combat - Cast \'Arcane Flurry\''), +(-(@CGUID+35), 0, 1001, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 53, 0, 1840400, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Steward - On Data Set 1 1 - Start Waypoint'), +(-(@CGUID+35), 0, 1002, 1003, 58, 0, 100, 0, 6, 1840400, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Steward - On Waypoint Finished - Play Emote 5'), +(-(@CGUID+35), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 67, 1, 2400, 2400, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Steward - On Waypoint Finished - Create Timed Event'), +(-(@CGUID+35), 0, 1004, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 53, 0, 1840401, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Steward - On Timed Event 0 Triggered - Start Waypoint'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-(@CGUID+14), -(@CGUID+15))); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- Suicider Left +(-(@CGUID+14), 0, 0, 1, 10, 0, 100, 1, 0, 90, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Within 0-90 Range Out of Combat LoS - Say Line 0 (No Repeat)'), +(-(@CGUID+14), 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1799312, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Within 0-90 Range Out of Combat LoS - Start Waypoint'), +(-(@CGUID+14), 0, 2, 0, 58, 0, 100, 0, 3, 1799312, 0, 0, 0, 11, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Cast \'Suicide\''), +(-(@CGUID+14), 0, 3, 4, 11, 0, 100, 512, 0, 0, 0, 0, 0, 18, 33555200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Initialize - Set Flags Immune To Players & Immune To NPC\'s & Not Selectable'), +(-(@CGUID+14), 0, 4, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 121, 90, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Initialize - Set Sight Distance'), +-- Suicider Right +(-(@CGUID+15), 0, 0, 1, 10, 0, 100, 1, 0, 90, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Within 0-90 Range Out of Combat LoS - Say Line 1 (No Repeat)'), +(-(@CGUID+15), 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1799313, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - Within 0-90 Range Out of Combat LoS - Start Waypoint'), +(-(@CGUID+15), 0, 2, 0, 58, 0, 100, 0, 5, 1799313, 0, 0, 0, 11, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Cast \'Suicide\''), +(-(@CGUID+15), 0, 3, 4, 11, 0, 100, 512, 0, 0, 0, 0, 0, 18, 33555200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Initialize - Set Flags Immune To Players & Immune To NPC\'s & Not Selectable'), +(-(@CGUID+15), 0, 4, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 121, 90, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Initialize - Set Sight Distance'); + +-- Addons for EmoteState and StandStates +DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+45,@CGUID+48,@CGUID+50,@CGUID+53,@CGUID+55,@CGUID+57,@CGUID+59,@CGUID+60,@CGUID+63,@CGUID+64,@CGUID+83,@CGUID+87,@CGUID+108,@CGUID+109,@CGUID+110,@CGUID+113,@CGUID+114,@CGUID+116,@CGUID+117,@CGUID+118,@CGUID+119,@CGUID+178); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(@CGUID+45 , 0, 0, 8, 0, 0, 0, NULL), +(@CGUID+48 , 0, 0, 8, 0, 0, 0, NULL), +(@CGUID+50 , 0, 0, 0, 0, 69, 0, NULL), +(@CGUID+53 , 0, 0, 0, 1, 69, 0, NULL), +(@CGUID+55 , 0, 0, 0, 1, 69, 0, NULL), +(@CGUID+57 , 0, 0, 0, 1, 69, 0, NULL), +(@CGUID+59 , 0, 0, 0, 1, 69, 0, NULL), +(@CGUID+60 , 0, 0, 8, 0, 0, 0, NULL), +(@CGUID+63 , 0, 0, 8, 0, 0, 0, NULL), +(@CGUID+64 , 0, 0, 8, 0, 0, 0, NULL), +(@CGUID+83 , 0, 0, 0, 1, 69, 0, NULL), +(@CGUID+87 , 0, 0, 0, 1, 69, 0, NULL), +(@CGUID+108, 0, 0, 0, 0, 69, 0, NULL), +(@CGUID+109, 0, 0, 0, 0, 69, 0, NULL), +(@CGUID+110, 0, 0, 0, 0, 69, 0, NULL), +(@CGUID+113, 0, 0, 0, 1, 69, 0, NULL), +(@CGUID+114, 0, 0, 0, 1, 69, 0, NULL), +(@CGUID+116, 0, 0, 0, 1, 69, 0, NULL), +(@CGUID+117, 0, 0, 0, 1, 69, 0, NULL), +(@CGUID+118, 0, 0, 0, 1, 69, 0, NULL), +(@CGUID+119, 0, 0, 0, 1, 69, 0, NULL), +(@CGUID+178, 0, 0, 8, 0, 0, 0, NULL); + +-- Addons for Bytes2 +DELETE FROM `creature_template_addon` WHERE (`entry` IN (17993,17994,18404,18420,18421,18422,19486,19508,19509,19511,19512,19843)); +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(17993, 0, 0, 0, 1, 0, 0, ''), +(17994, 0, 0, 0, 1, 0, 0, ''), +(18404, 0, 0, 0, 1, 0, 0, ''), +(18420, 0, 0, 0, 1, 0, 0, ''), +(18421, 0, 0, 0, 1, 0, 0, ''), +(18422, 0, 0, 0, 1, 0, 0, ''), +(19486, 0, 0, 0, 1, 0, 0, ''), +(19508, 0, 0, 0, 1, 0, 0, ''), +(19509, 0, 0, 0, 1, 0, 0, ''), +(19511, 0, 0, 0, 1, 0, 0, ''), +(19512, 0, 0, 0, 1, 0, 0, ''), +(19843, 0, 0, 0, 1, 0, 0, ''); + +-- Static Formations +DELETE FROM `creature_formations` WHERE `groupAI`=3 AND `leaderGUID` IN (@CGUID+05,@CGUID+06,@CGUID+08,@CGUID+10,@CGUID+12,@CGUID+16,@CGUID+19,@CGUID+20,@CGUID+22,@CGUID+27,@CGUID+28,@CGUID+43,@CGUID+44,@CGUID+45,@CGUID+46,@CGUID+51,@CGUID+52,@CGUID+53,@CGUID+54,@CGUID+55,@CGUID+59,@CGUID+65,@CGUID+66,@CGUID+91,@CGUID+92,@CGUID+108,@CGUID+109,@CGUID+110,@CGUID+111,@CGUID+120,@CGUID+126,@CGUID+133,@CGUID+135,@CGUID+136,@CGUID+146,@CGUID+156,@CGUID+166) AND `memberGUID` IN (@CGUID+19,@CGUID+21,@CGUID+22,@CGUID+23,@CGUID+20,@CGUID+24,@CGUID+44,@CGUID+50,@CGUID+176,@CGUID+45,@CGUID+47,@CGUID+177,@CGUID+43,@CGUID+48,@CGUID+179,@CGUID+46,@CGUID+49,@CGUID+178,@CGUID+27,@CGUID+34,@CGUID+31,@CGUID+29,@CGUID+06,@CGUID+18,@CGUID+05,@CGUID+07,@CGUID+35,@CGUID+28,@CGUID+30,@CGUID+32,@CGUID+33,@CGUID+08,@CGUID+09,@CGUID+36,@CGUID+10,@CGUID+11,@CGUID+37,@CGUID+12,@CGUID+13,@CGUID+38,@CGUID+53,@CGUID+143,@CGUID+60,@CGUID+83,@CGUID+54,@CGUID+84,@CGUID+87,@CGUID+146,@CGUID+63,@CGUID+57,@CGUID+88,@CGUID+86,@CGUID+55,@CGUID+147,@CGUID+64,@CGUID+56,@CGUID+85,@CGUID+51,@CGUID+68,@CGUID+69,@CGUID+67,@CGUID+72,@CGUID+70,@CGUID+75,@CGUID+71,@CGUID+73,@CGUID+59,@CGUID+89,@CGUID+66,@CGUID+149,@CGUID+52,@CGUID+74,@CGUID+80,@CGUID+76,@CGUID+78,@CGUID+77,@CGUID+79,@CGUID+81,@CGUID+82,@CGUID+91,@CGUID+93,@CGUID+92,@CGUID+94,@CGUID+111,@CGUID+112,@CGUID+115,@CGUID+120,@CGUID+125,@CGUID+130,@CGUID+131,@CGUID+126,@CGUID+132,@CGUID+129,@CGUID+127,@CGUID+110,@CGUID+154,@CGUID+118,@CGUID+119,@CGUID+155,@CGUID+109,@CGUID+113,@CGUID+117,@CGUID+151,@CGUID+150,@CGUID+108,@CGUID+152,@CGUID+153,@CGUID+114,@CGUID+116,@CGUID+16,@CGUID+17,@CGUID+136,@CGUID+186,@CGUID+138,@CGUID+187,@CGUID+135,@CGUID+137,@CGUID+185,@CGUID+184,@CGUID+133,@CGUID+183,@CGUID+182,@CGUID+134,@CGUID+65,@CGUID+148,@CGUID+166,@CGUID+168,@CGUID+170,@CGUID+171,@CGUID+172,@CGUID+173,@CGUID+174,@CGUID+175,@CGUID+169,@CGUID+167,@CGUID+156,@CGUID+161,@CGUID+160,@CGUID+164,@CGUID+158,@CGUID+157,@CGUID+162,@CGUID+163,@CGUID+165,@CGUID+159); +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES +(@CGUID+19, @CGUID+19, 0, 0, 3), +(@CGUID+19, @CGUID+21, 0, 0, 3), +(@CGUID+22, @CGUID+22, 0, 0, 3), +(@CGUID+22, @CGUID+23, 0, 0, 3), +(@CGUID+20, @CGUID+20, 0, 0, 3), +(@CGUID+20, @CGUID+24, 0, 0, 3), +(@CGUID+44, @CGUID+44, 0, 0, 3), +(@CGUID+44, @CGUID+50, 0, 0, 3), +(@CGUID+44, @CGUID+176, 0, 0, 3), +(@CGUID+45, @CGUID+45, 0, 0, 3), +(@CGUID+45, @CGUID+47, 0, 0, 3), +(@CGUID+45, @CGUID+177, 0, 0, 3), +(@CGUID+43, @CGUID+43, 0, 0, 3), +(@CGUID+43, @CGUID+48, 0, 0, 3), +(@CGUID+43, @CGUID+179, 0, 0, 3), +(@CGUID+46, @CGUID+46, 0, 0, 3), +(@CGUID+46, @CGUID+49, 0, 0, 3), +(@CGUID+46, @CGUID+178, 0, 0, 3), +(@CGUID+27, @CGUID+27, 0, 0, 3), +(@CGUID+27, @CGUID+34, 0, 0, 3), +(@CGUID+27, @CGUID+31, 0, 0, 3), +(@CGUID+27, @CGUID+29, 0, 0, 3), +(@CGUID+06, @CGUID+06, 0, 0, 3), +(@CGUID+06, @CGUID+18, 0, 0, 3), +(@CGUID+05, @CGUID+05, 0, 0, 3), +(@CGUID+05, @CGUID+07, 0, 0, 3), +(@CGUID+05, @CGUID+35, 0, 0, 3), +(@CGUID+28, @CGUID+28, 0, 0, 3), +(@CGUID+28, @CGUID+30, 0, 0, 3), +(@CGUID+28, @CGUID+32, 0, 0, 3), +(@CGUID+28, @CGUID+33, 0, 0, 3), +(@CGUID+08, @CGUID+08, 0, 0, 3), +(@CGUID+08, @CGUID+09, 0, 0, 3), +(@CGUID+08, @CGUID+36, 0, 0, 3), +(@CGUID+10, @CGUID+10, 0, 0, 3), +(@CGUID+10, @CGUID+11, 0, 0, 3), +(@CGUID+10, @CGUID+37, 0, 0, 3), +(@CGUID+12, @CGUID+12, 0, 0, 3), +(@CGUID+12, @CGUID+13, 0, 0, 3), +(@CGUID+12, @CGUID+38, 0, 0, 3), +(@CGUID+53, @CGUID+53, 0, 0, 3), +(@CGUID+53, @CGUID+143, 0, 0, 3), +(@CGUID+53, @CGUID+60, 0, 0, 3), +(@CGUID+53, @CGUID+83, 0, 0, 3), +(@CGUID+54, @CGUID+54, 0, 0, 3), +(@CGUID+54, @CGUID+84, 0, 0, 3), +(@CGUID+54, @CGUID+87, 0, 0, 3), +(@CGUID+146, @CGUID+146, 0, 0, 3), +(@CGUID+146, @CGUID+63, 0, 0, 3), +(@CGUID+146, @CGUID+57, 0, 0, 3), +(@CGUID+146, @CGUID+88, 0, 0, 3), +(@CGUID+146, @CGUID+86, 0, 0, 3), +(@CGUID+55, @CGUID+55, 0, 0, 3), +(@CGUID+55, @CGUID+147, 0, 0, 3), +(@CGUID+55, @CGUID+64, 0, 0, 3), +(@CGUID+55, @CGUID+56, 0, 0, 3), +(@CGUID+55, @CGUID+85, 0, 0, 3), +(@CGUID+51, @CGUID+51, 0, 0, 3), +(@CGUID+51, @CGUID+68, 0, 0, 3), +(@CGUID+51, @CGUID+69, 0, 0, 3), +(@CGUID+51, @CGUID+67, 0, 0, 3), +(@CGUID+51, @CGUID+72, 0, 0, 3), +(@CGUID+51, @CGUID+70, 0, 0, 3), +(@CGUID+51, @CGUID+75, 0, 0, 3), +(@CGUID+51, @CGUID+71, 0, 0, 3), +(@CGUID+51, @CGUID+73, 0, 0, 3), +(@CGUID+59, @CGUID+59, 0, 0, 3), +(@CGUID+59, @CGUID+89, 0, 0, 3), +(@CGUID+66, @CGUID+66, 0, 0, 3), +(@CGUID+66, @CGUID+149, 0, 0, 3), +(@CGUID+52, @CGUID+52, 0, 0, 3), +(@CGUID+52, @CGUID+74, 0, 0, 3), +(@CGUID+52, @CGUID+80, 0, 0, 3), +(@CGUID+52, @CGUID+76, 0, 0, 3), +(@CGUID+52, @CGUID+78, 0, 0, 3), +(@CGUID+52, @CGUID+77, 0, 0, 3), +(@CGUID+52, @CGUID+79, 0, 0, 3), +(@CGUID+52, @CGUID+81, 0, 0, 3), +(@CGUID+52, @CGUID+82, 0, 0, 3), +(@CGUID+91, @CGUID+91, 0, 0, 3), +(@CGUID+91, @CGUID+93, 0, 0, 3), +(@CGUID+92, @CGUID+92, 0, 0, 3), +(@CGUID+92, @CGUID+94, 0, 0, 3), +(@CGUID+111, @CGUID+111, 0, 0, 3), +(@CGUID+111, @CGUID+112, 0, 0, 3), +(@CGUID+111, @CGUID+115, 0, 0, 3), +(@CGUID+120, @CGUID+120, 0, 0, 3), +(@CGUID+120, @CGUID+125, 0, 0, 3), +(@CGUID+120, @CGUID+130, 0, 0, 3), +(@CGUID+120, @CGUID+131, 0, 0, 3), +(@CGUID+126, @CGUID+126, 0, 0, 3), +(@CGUID+126, @CGUID+132, 0, 0, 3), +(@CGUID+126, @CGUID+129, 0, 0, 3), +(@CGUID+126, @CGUID+127, 0, 0, 3), +(@CGUID+110, @CGUID+110, 0, 0, 3), +(@CGUID+110, @CGUID+154, 0, 0, 3), +(@CGUID+110, @CGUID+118, 0, 0, 3), +(@CGUID+110, @CGUID+119, 0, 0, 3), +(@CGUID+110, @CGUID+155, 0, 0, 3), +(@CGUID+109, @CGUID+109, 0, 0, 3), +(@CGUID+109, @CGUID+113, 0, 0, 3), +(@CGUID+109, @CGUID+117, 0, 0, 3), +(@CGUID+109, @CGUID+151, 0, 0, 3), +(@CGUID+109, @CGUID+150, 0, 0, 3), +(@CGUID+108, @CGUID+108, 0, 0, 3), +(@CGUID+108, @CGUID+152, 0, 0, 3), +(@CGUID+108, @CGUID+153, 0, 0, 3), +(@CGUID+108, @CGUID+114, 0, 0, 3), +(@CGUID+108, @CGUID+116, 0, 0, 3), +(@CGUID+16, @CGUID+16, 0, 0, 3), +(@CGUID+16, @CGUID+17, 0, 0, 3), +(@CGUID+136, @CGUID+136, 0, 0, 3), +(@CGUID+136, @CGUID+186, 0, 0, 3), +(@CGUID+136, @CGUID+138, 0, 0, 3), +(@CGUID+136, @CGUID+187, 0, 0, 3), +(@CGUID+135, @CGUID+135, 0, 0, 3), +(@CGUID+135, @CGUID+137, 0, 0, 3), +(@CGUID+135, @CGUID+185, 0, 0, 3), +(@CGUID+135, @CGUID+184, 0, 0, 3), +(@CGUID+133, @CGUID+133, 0, 0, 3), +(@CGUID+133, @CGUID+183, 0, 0, 3), +(@CGUID+133, @CGUID+182, 0, 0, 3), +(@CGUID+133, @CGUID+134, 0, 0, 3), +(@CGUID+65, @CGUID+65, 0, 0, 3), +(@CGUID+65, @CGUID+148, 0, 0, 3), +(@CGUID+166, @CGUID+166, 0, 0, 3), +(@CGUID+166, @CGUID+168, 0, 0, 3), +(@CGUID+166, @CGUID+170, 0, 0, 3), +(@CGUID+166, @CGUID+171, 0, 0, 3), +(@CGUID+166, @CGUID+172, 0, 0, 3), +(@CGUID+166, @CGUID+173, 0, 0, 3), +(@CGUID+166, @CGUID+174, 0, 0, 3), +(@CGUID+166, @CGUID+175, 0, 0, 3), +(@CGUID+166, @CGUID+169, 0, 0, 3), +(@CGUID+166, @CGUID+167, 0, 0, 3), +(@CGUID+156, @CGUID+156, 0, 0, 3), +(@CGUID+156, @CGUID+161, 0, 0, 3), +(@CGUID+156, @CGUID+160, 0, 0, 3), +(@CGUID+156, @CGUID+164, 0, 0, 3), +(@CGUID+156, @CGUID+158, 0, 0, 3), +(@CGUID+156, @CGUID+157, 0, 0, 3), +(@CGUID+156, @CGUID+162, 0, 0, 3), +(@CGUID+156, @CGUID+163, 0, 0, 3), +(@CGUID+156, @CGUID+165, 0, 0, 3), +(@CGUID+156, @CGUID+159, 0, 0, 3); + +-- Gameobjects +SET @OGUID := 105183; +SET @POOL := 8353; + +DELETE FROM `gameobject` WHERE `map`=553 AND `id` IN (181270, 181279, 181271, 181277) AND `guid` BETWEEN @OGUID+0 AND @OGUID+12; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES +(@OGUID+0 , 181270, 553, 3847, 3847, 3, 1, 41.4327, 356.078, -26.0174, 1.8675, 0, 0, 0.803857, 0.594823, 86400, 255, 1, '', 48001), +(@OGUID+1 , 181270, 553, 3847, 3847, 3, 1, 9.8574, 418.206, -27.5923, 5.20108, 0, 0, -0.515038, 0.857168, 86400, 255, 1, '', 48001), +(@OGUID+2 , 181270, 553, 3847, 3847, 3, 1, 63.4501, 427.082, -25.5068, 0.541051, 0, 0, 0.267238, 0.963631, 86400, 255, 1, '', 48001), +(@OGUID+3 , 181279, 553, 3847, 3847, 3, 1, -0.459927, 256.711, -4.35613, 3.82227, 0, 0, -0.942641, 0.333808, 86400, 255, 1, '', 48001), +(@OGUID+4 , 181271, 553, 3847, 3847, 3, 1, 0.634392, 165.962, -3.67233, 3.76991, 0, 0, -0.951056, 0.309017, 86400, 255, 1, '', 48001), +(@OGUID+5 , 181270, 553, 3847, 3847, 3, 1, 93.4825, 371.747, -27.3115, 4.92183, 0, 0, -0.62932, 0.777146, 86400, 255, 1, '', 48001), +(@OGUID+6 , 181270, 553, 3847, 3847, 3, 1, 173.042, 388.688, -3.90029, 4.79966, 0, 0, -0.67559, 0.737278, 86400, 255, 1, '', 48001), +(@OGUID+7 , 181271, 553, 3847, 3847, 3, 1, 155.018, 409.847, -3.52534, 6.19592, 0, 0, -0.0436192, 0.999048, 86400, 255, 1, '', 48001), +(@OGUID+8 , 181279, 553, 3847, 3847, 3, 1, 115.816, 450.617, -3.82386, 0.279252, 0, 0, 0.139173, 0.990268, 86400, 255, 1, '', 48001), +(@OGUID+9 , 181271, 553, 3847, 3847, 3, 1, -22.2003, 502.644, -4.84003, 0.314158, 0, 0, 0.156434, 0.987688, 86400, 255, 1, '', 48001), +(@OGUID+10, 181277, 553, 3847, 3847, 3, 1, -165.293, 495.911, -15.0749, 4.39823, 0, 0, -0.809016, 0.587786, 86400, 255, 1, '', 48001), +(@OGUID+11, 181270, 553, 3847, 3847, 3, 1, -154.192, 523.518, -16.0193, 3.35105, 0, 0, -0.994521, 0.104536, 86400, 255, 1, '', 48001), +(@OGUID+12, 181279, 553, 3847, 3847, 3, 1, 169.234, 504.449, 0.050639, 2.32129, 0, 0, 0.91706, 0.39875, 86400, 255, 1, '', 48001); + +DELETE FROM `pool_gameobject` WHERE `guid` IN (@OGUID+0,@OGUID+1,@OGUID+2,@OGUID+5) AND `pool_entry`=@POOL AND `description`='Felweed - The Botanica'; +INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`) VALUES +(@OGUID+0, @POOL, 0, 'Felweed - The Botanica'), +(@OGUID+1, @POOL, 0, 'Felweed - The Botanica'), +(@OGUID+2, @POOL, 0, 'Felweed - The Botanica'), +(@OGUID+5, @POOL, 0, 'Felweed - The Botanica'); + +DELETE FROM `pool_template` WHERE `entry`=@POOL AND `description`='The Botanica - Felweed'; +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES +(@POOL, 1, 'The Botanica - Felweed');