Files
moonwell-core-vanilla/sql/migrations/20230905021701_world.sql
T
2024-02-29 03:48:05 +02:00

1263 lines
95 KiB
SQL

DROP PROCEDURE IF EXISTS add_migration;
delimiter ??
CREATE PROCEDURE `add_migration`()
BEGIN
DECLARE v INT DEFAULT 1;
SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20230905021701');
IF v=0 THEN
INSERT INTO `migrations` VALUES ('20230905021701');
-- Add your query below.
SET @BWL_OGUID = 234778;
SET @BWL_CGUID = 59514;
-- Corrupted Whelps respawn (only those with is_spawn = 1).
DELETE FROM `creature` WHERE `id`=14022 AND map = 469;
DELETE FROM `creature` WHERE `id`=14023 AND map = 469;
DELETE FROM `creature` WHERE `id`=14024 AND map = 469;
DELETE FROM `creature` WHERE `id`=14025 AND map = 469;
INSERT INTO `creature` (`guid`, `id`, `id2`, `id3`, `id4`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecsmin`, `spawntimesecsmax`, `wander_distance`, `health_percent`, `mana_percent`, `movement_type`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
(@BWL_CGUID+1, 14022, 14023, 14024, 14025, 469, -7719.53, -1067.46, 445.26, 3.57792, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+2, 14022, 14023, 14024, 14025, 469, -7716.05, -1071.89, 445.26, 6.26573, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+3, 14022, 14023, 14024, 14025, 469, -7713.35, -1064.88, 445.26, 5.5676, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+4, 14022, 14023, 14024, 14025, 469, -7713.23, -1069.79, 445.26, 0.628318, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+5, 14022, 14023, 14024, 14025, 469, -7711.87, -1077.83, 445.26, 1.0821, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+6, 14022, 14023, 14024, 14025, 469, -7710.85, -1073.44, 445.26, 0.925025, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+7, 14022, 14023, 14024, 14025, 469, -7710.71, -1066.49, 445.26, 5.07891, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+8, 14022, 14023, 14024, 14025, 469, -7708.75, -1082.18, 446.224, 1.7621, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+9, 14022, 14023, 14024, 14025, 469, -7705.64, -1061.77, 445.26, 5.0091, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+10, 14022, 14023, 14024, 14025, 469, -7705.24, -1089.16, 449.201, 5.88176, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+11, 14022, 14023, 14024, 14025, 469, -7704.98, -1083.24, 447.551, 3.66519, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+12, 14022, 14023, 14024, 14025, 469, -7704.29, -1056.5, 443.699, 6.14356, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+13, 14022, 14023, 14024, 14025, 469, -7703.72, -1015.03, 440.505, 6.02139, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+14, 14022, 14023, 14024, 14025, 469, -7701.07, -1019.07, 440.55, 0.698132, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+15, 14022, 14023, 14024, 14025, 469, -7700.87, -1057.77, 442.77, 0.10472, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+16, 14022, 14023, 14024, 14025, 469, -7700.29, -1091.06, 449.19, 5.49779, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+17, 14022, 14023, 14024, 14025, 469, -7698.84, -997.601, 440.197, 4.59022, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+18, 14022, 14023, 14024, 14025, 469, -7698.22, -1007.16, 440.326, 4.69494, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+19, 14022, 14023, 14024, 14025, 469, -7696.18, -1055.7, 440.758, 2.32129, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+20, 14022, 14023, 14024, 14025, 469, -7696.04, -1001.23, 440.269, 1.13446, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+21, 14022, 14023, 14024, 14025, 469, -7695.53, -1013.02, 440.098, 1.97222, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+22, 14022, 14023, 14024, 14025, 469, -7695.47, -1017.1, 440.395, 4.93928, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+23, 14022, 14023, 14024, 14025, 469, -7695.45, -1029.21, 440.56, 5.65487, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+24, 14022, 14023, 14024, 14025, 469, -7694.26, -1023.88, 440.464, 5.98648, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+25, 14022, 14023, 14024, 14025, 469, -7694.11, -1034.31, 440.603, 2.18166, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+26, 14022, 14023, 14024, 14025, 469, -7693.29, -1094.91, 449.205, 3.07178, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+27, 14022, 14023, 14024, 14025, 469, -7693.18, -1100.67, 449.21, 1.6057, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+28, 14022, 14023, 14024, 14025, 469, -7692.94, -1111.29, 449.182, 0.141986, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+29, 14022, 14023, 14024, 14025, 469, -7692.11, -1009.16, 440.066, 3.83972, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+30, 14022, 14023, 14024, 14025, 469, -7690.22, -1003.11, 440.066, 1.8326, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+31, 14022, 14023, 14024, 14025, 469, -7689.85, -1044.19, 440.577, 1.32645, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+32, 14022, 14023, 14024, 14025, 469, -7689.2, -1116.75, 449.175, 3.59538, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+33, 14022, 14023, 14024, 14025, 469, -7688.92, -990.716, 440.197, 2.23402, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+34, 14022, 14023, 14024, 14025, 469, -7688.77, -1048.17, 440.547, 4.20624, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+35, 14022, 14023, 14024, 14025, 469, -7687.76, -1025.21, 440.355, 2.02458, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+36, 14022, 14023, 14024, 14025, 469, -7686.58, -1012.38, 440.066, 4.46804, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+37, 14022, 14023, 14024, 14025, 469, -7685.91, -1027.9, 440.355, 2.63545, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+38, 14022, 14023, 14024, 14025, 469, -7685.87, -1036.16, 440.467, 2.25148, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+39, 14022, 14023, 14024, 14025, 469, -7684.85, -993.854, 440.275, 5.42797, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+40, 14022, 14023, 14024, 14025, 469, -7684.29, -1123.29, 449.169, 3.57792, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+41, 14022, 14023, 14024, 14025, 469, -7683.67, -1096.39, 449.191, 2.84489, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+42, 14022, 14023, 14024, 14025, 469, -7683.51, -1047.26, 440.364, 5.35816, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+43, 14022, 14023, 14024, 14025, 469, -7683.44, -1104.73, 449.218, 2.42601, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+44, 14022, 14023, 14024, 14025, 469, -7683.09, -1108.72, 449.222, 5.91667, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+45, 14022, 14023, 14024, 14025, 469, -7682.46, -1041.22, 440.43, 1.74533, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+46, 14022, 14023, 14024, 14025, 469, -7681.89, -998.11, 440.342, 4.88692, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+47, 14022, 14023, 14024, 14025, 469, -7681.77, -992.085, 440.28, 1.36136, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+48, 14022, 14023, 14024, 14025, 469, -7681.6, -1087.51, 449.209, 3.50697, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+49, 14022, 14023, 14024, 14025, 469, -7681.28, -1007.74, 440.067, 4.75887, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+50, 14022, 14023, 14024, 14025, 469, -7679.4, -1123.8, 449.19, 1.2111, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+51, 14022, 14023, 14024, 14025, 469, -7678.6, -1129.76, 449.166, 1.04279, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+52, 14022, 14023, 14024, 14025, 469, -7678.43, -1018, 440.066, 5.55143, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+53, 14022, 14023, 14024, 14025, 469, -7678.04, -998.592, 440.342, 0.994838, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+54, 14022, 14023, 14024, 14025, 469, -7676.78, -1036.71, 440.065, 1.43117, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+55, 14022, 14023, 14024, 14025, 469, -7674.77, -1105.75, 449.221, 2.61799, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+56, 14022, 14023, 14024, 14025, 469, -7674.31, -1026.79, 440.066, 4.04916, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+57, 14022, 14023, 14024, 14025, 469, -7673.87, -1043.05, 440.258, 0.10472, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+58, 14022, 14023, 14024, 14025, 469, -7673.18, -1009.97, 440.342, 2.26893, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+59, 14022, 14023, 14024, 14025, 469, -7673.17, -988.168, 440.308, 3.26377, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+60, 14022, 14023, 14024, 14025, 469, -7673.1, -1092.44, 449.241, 1.309, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+61, 14022, 14023, 14024, 14025, 469, -7671.66, -1081.72, 449.247, 4.6108, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+62, 14022, 14023, 14024, 14025, 469, -7671.18, -982.726, 440.255, 4.83456, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+63, 14022, 14023, 14024, 14025, 469, -7670.19, -1018.47, 440.282, 3.41594, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+64, 14022, 14023, 14024, 14025, 469, -7669.85, -1042.61, 440.23, 0.499003, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+65, 14022, 14023, 14024, 14025, 469, -7669.46, -1101.06, 449.247, 4.17856, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+66, 14022, 14023, 14024, 14025, 469, -7669.12, -1113.1, 449.239, 3.05433, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+67, 14022, 14023, 14024, 14025, 469, -7669.01, -1002.58, 440.343, 1.90241, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+68, 14022, 14023, 14024, 14025, 469, -7667.65, -987.774, 440.069, 6.0912, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+69, 14022, 14023, 14024, 14025, 469, -7667.54, -1032.7, 440.33, 4.50295, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+70, 14022, 14023, 14024, 14025, 469, -7667.06, -991.905, 440.069, 0.349066, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+71, 14022, 14023, 14024, 14025, 469, -7666.45, -1044.84, 440.189, 6.23106, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+72, 14022, 14023, 14024, 14025, 469, -7666, -1036.99, 440.265, 3.31613, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+73, 14022, 14023, 14024, 14025, 469, -7665.73, -1009.91, 440.343, 2.58309, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+74, 14022, 14023, 14024, 14025, 469, -7665.29, -983.93, 440.324, 0.279253, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+75, 14022, 14023, 14024, 14025, 469, -7662.24, -1080.32, 449.247, 5.8294, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+76, 14022, 14023, 14024, 14025, 469, -7662.16, -1036.63, 440.237, 1.65806, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+77, 14022, 14023, 14024, 14025, 469, -7661.97, -1095.1, 449.247, 5.25344, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+78, 14022, 14023, 14024, 14025, 469, -7661.78, -1030.3, 440.31, 2.42601, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+79, 14022, 14023, 14024, 14025, 469, -7661.5, -988.088, 440.07, 0.698132, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+80, 14022, 14023, 14024, 14025, 469, -7660.63, -1119.28, 449.247, 2.14675, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+81, 14022, 14023, 14024, 14025, 469, -7660, -1041.1, 440.189, 0.977384, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+82, 14022, 14023, 14024, 14025, 469, -7659.99, -1016.2, 440.343, 1.23918, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+83, 14022, 14023, 14024, 14025, 469, -7659.83, -979.335, 440.315, 2.26893, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+84, 14022, 14023, 14024, 14025, 469, -7659.56, -1086.99, 449.247, 2.07022, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+85, 14022, 14023, 14024, 14025, 469, -7659.06, -995.701, 440.069, 3.66519, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+86, 14022, 14023, 14024, 14025, 469, -7658.49, -1032.13, 440.26, 5.23599, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+87, 14022, 14023, 14024, 14025, 469, -7658.36, -1071.11, 449.247, 1.71042, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+88, 14022, 14023, 14024, 14025, 469, -7657.92, -985.007, 440.07, 1.27859, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+89, 14022, 14023, 14024, 14025, 469, -7657.22, -1105.36, 449.247, 1.55691, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+90, 14022, 14023, 14024, 14025, 469, -7656.99, -1050.73, 449.263, 5.91667, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+91, 14022, 14023, 14024, 14025, 469, -7656.85, -975.14, 440.287, 0.418879, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+92, 14022, 14023, 14024, 14025, 469, -7656.67, -1038.08, 440.189, 2.87979, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+93, 14022, 14023, 14024, 14025, 469, -7655.83, -1066.95, 449.247, 2.3911, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+94, 14022, 14023, 14024, 14025, 469, -7655.71, -1062.33, 449.248, 3.84977, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+95, 14022, 14023, 14024, 14025, 469, -7653.86, -1010.09, 440.069, 5.63741, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+96, 14022, 14023, 14024, 14025, 469, -7653.37, -1113.78, 449.247, 5.39307, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+97, 14022, 14023, 14024, 14025, 469, -7653.22, -1079.14, 449.247, 5.16617, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+98, 14022, 14023, 14024, 14025, 469, -7653.06, -1092.68, 449.247, 4.06662, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+99, 14022, 14023, 14024, 14025, 469, -7652.4, -1052.16, 449.259, 1.0821, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+100, 14022, 14023, 14024, 14025, 469, -7652.35, -992.23, 440.07, 5.20108, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+101, 14022, 14023, 14024, 14025, 469, -7652.13, -1058.15, 449.251, 4.06662, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+102, 14022, 14023, 14024, 14025, 469, -7651.96, -981.664, 440.346, 0.331613, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+103, 14022, 14023, 14024, 14025, 469, -7651.16, -1071.12, 449.247, 4.08041, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+104, 14022, 14023, 14024, 14025, 469, -7648.7, -1025.35, 440.26, 1.88496, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+105, 14022, 14023, 14024, 14025, 469, -7648.13, -1057.97, 449.247, 5.61996, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+106, 14022, 14023, 14024, 14025, 469, -7647.86, -962.381, 440.203, 1.18682, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+107, 14022, 14023, 14024, 14025, 469, -7647.48, -1093.84, 449.247, 3.14159, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+108, 14022, 14023, 14024, 14025, 469, -7647.05, -1068.97, 449.247, 5.55015, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+109, 14022, 14023, 14024, 14025, 469, -7646.83, -1086.38, 449.247, 3.56217, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+110, 14022, 14023, 14024, 14025, 469, -7646.14, -1022.28, 440.289, 0.0174533, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+111, 14022, 14023, 14024, 14025, 469, -7645.86, -958.951, 440.189, 1.97222, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+112, 14022, 14023, 14024, 14025, 469, -7645.7, -1016.46, 440.304, 4.66003, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+113, 14022, 14023, 14024, 14025, 469, -7645.29, -1001.86, 440.07, 5.53269, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+114, 14022, 14023, 14024, 14025, 469, -7645.14, -969.456, 440.321, 4.04916, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+115, 14022, 14023, 14024, 14025, 469, -7644.68, -1064.16, 449.247, 6.19316, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+116, 14022, 14023, 14024, 14025, 469, -7643.86, -1103.47, 449.247, 3.76969, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+117, 14022, 14023, 14024, 14025, 469, -7643.56, -1111.76, 449.247, 1.78024, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+118, 14022, 14023, 14024, 14025, 469, -7643.53, -955.466, 440.189, 2.58309, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+119, 14022, 14023, 14024, 14025, 469, -7643.36, -1017.6, 440.309, 6.17846, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+120, 14022, 14023, 14024, 14025, 469, -7643.34, -997.209, 440.345, 4.27606, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+121, 14022, 14023, 14024, 14025, 469, -7642.84, -1075.91, 449.247, 1.02974, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+122, 14022, 14023, 14024, 14025, 469, -7642.42, -965.778, 440.297, 2.11185, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+123, 14022, 14023, 14024, 14025, 469, -7641.78, -987.448, 440.346, 3.68265, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+124, 14022, 14023, 14024, 14025, 469, -7641.1, -1015.7, 440.314, 4.35542, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+125, 14022, 14023, 14024, 14025, 469, -7640.96, -1101.4, 449.247, 3.58709, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+126, 14022, 14023, 14024, 14025, 469, -7640.47, -961.673, 440.261, 1.01229, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+127, 14022, 14023, 14024, 14025, 469, -7640.43, -957.286, 440.204, 2.25148, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+128, 14022, 14023, 14024, 14025, 469, -7640.15, -1011.7, 440.069, 4.01426, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+129, 14022, 14023, 14024, 14025, 469, -7639.89, -990.146, 440.346, 1.8326, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+130, 14022, 14023, 14024, 14025, 469, -7638.1, -1016.86, 440.273, 3.03687, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+131, 14022, 14023, 14024, 14025, 469, -7636.82, -1099.29, 449.247, 0.676785, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+132, 14022, 14023, 14024, 14025, 469, -7636.66, -963.865, 440.356, 2.58135, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+133, 14022, 14023, 14024, 14025, 469, -7636.04, -1078.19, 449.247, 0.593412, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+134, 14022, 14023, 14024, 14025, 469, -7635.98, -1012.13, 440.314, 4.57276, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+135, 14022, 14023, 14024, 14025, 469, -7635.41, -1018.93, 440.244, 1.32645, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+136, 14022, 14023, 14024, 14025, 469, -7635.01, -1087.5, 449.247, 2.49582, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+137, 14022, 14023, 14024, 14025, 469, -7634.91, -956.022, 440.252, 3.38594, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+138, 14022, 14023, 14024, 14025, 469, -7634.62, -961.161, 440.345, 1.93583, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+139, 14022, 14023, 14024, 14025, 469, -7633.73, -980.541, 440.083, 1.78024, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+140, 14022, 14023, 14024, 14025, 469, -7633.5, -1062.02, 449.247, 0.436332, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+141, 14022, 14023, 14024, 14025, 469, -7632.61, -1102.87, 449.247, 3.31613, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+142, 14022, 14023, 14024, 14025, 469, -7632.52, -1008.38, 440.331, 0.0349066, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+143, 14022, 14023, 14024, 14025, 469, -7632.46, -1003.41, 440.346, 0.453786, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+144, 14022, 14023, 14024, 14025, 469, -7632.09, -1015.39, 440.24, 0.855211, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+145, 14022, 14023, 14024, 14025, 469, -7631.21, -971.92, 440.114, 3.38594, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+146, 14022, 14023, 14024, 14025, 469, -7630.92, -1049.91, 449.247, 1.15192, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+147, 14022, 14023, 14024, 14025, 469, -7630.23, -1033.7, 449.247, 6.14356, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+148, 14022, 14023, 14024, 14025, 469, -7630.01, -1069.4, 449.247, 5.2709, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+149, 14022, 14023, 14024, 14025, 469, -7629.85, -1001.31, 440.346, 4.27606, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+150, 14022, 14023, 14024, 14025, 469, -7628.45, -1096.12, 449.247, 0.10472, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+151, 14022, 14023, 14024, 14025, 469, -7627.4, -988.568, 440.086, 3.36848, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+152, 14022, 14023, 14024, 14025, 469, -7627.33, -1009.28, 440.275, 3.19395, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+153, 14022, 14023, 14024, 14025, 469, -7625.74, -1103.54, 449.247, 0.820305, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+154, 14022, 14023, 14024, 14025, 469, -7625.7, -1000.88, 440.346, 4.03171, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+155, 14022, 14023, 14024, 14025, 469, -7625.2, -1033.05, 449.247, 5.89921, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+156, 14022, 14023, 14024, 14025, 469, -7625.08, -1051.81, 449.247, 0.994838, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+157, 14022, 14023, 14024, 14025, 469, -7624.89, -1046.62, 449.247, 1.29154, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+158, 14022, 14023, 14024, 14025, 469, -7624.85, -1090.89, 449.247, 6.14356, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+159, 14022, 14023, 14024, 14025, 469, -7624.56, -1038.27, 449.247, 4.57276, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+160, 14022, 14023, 14024, 14025, 469, -7622.71, -1029.08, 449.247, 5.48033, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+161, 14022, 14023, 14024, 14025, 469, -7622.55, -978.518, 440.129, 1.17014, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+162, 14022, 14023, 14024, 14025, 469, -7621.99, -1077.23, 449.247, 1.51844, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+163, 14022, 14023, 14024, 14025, 469, -7621.75, -1068.85, 449.247, 6.07375, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+164, 14022, 14023, 14024, 14025, 469, -7620.85, -1006.58, 440.258, 1.25664, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+165, 14022, 14023, 14024, 14025, 469, -7620.29, -1001.35, 440.325, 1.01229, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+166, 14022, 14023, 14024, 14025, 469, -7619.92, -1101.82, 449.247, 1.16937, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+167, 14022, 14023, 14024, 14025, 469, -7619.76, -1047.64, 449.247, 5.67232, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+168, 14022, 14023, 14024, 14025, 469, -7618.44, -1038.33, 449.247, 4.75091, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+169, 14022, 14023, 14024, 14025, 469, -7618.19, -989.43, 440.117, 4.2586, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+170, 14022, 14023, 14024, 14025, 469, -7618.11, -1059.93, 449.247, 5.20108, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+171, 14022, 14023, 14024, 14025, 469, -7617.68, -1093.41, 449.247, 2.75762, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+172, 14022, 14023, 14024, 14025, 469, -7616.76, -994.374, 440.109, 1.95477, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+173, 14022, 14023, 14024, 14025, 469, -7616.03, -1044.02, 449.247, 1.19839, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+174, 14022, 14023, 14024, 14025, 469, -7615.86, -1004.25, 440.26, 1.85005, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+175, 14022, 14023, 14024, 14025, 469, -7615.03, -999.078, 440.335, 0.509109, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+176, 14022, 14023, 14024, 14025, 469, -7612.87, -1067.8, 449.247, 0.15708, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+177, 14022, 14023, 14024, 14025, 469, -7612.81, -1006.66, 440.189, 1.03267, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+178, 14022, 14023, 14024, 14025, 469, -7611.71, -997.06, 440.338, 1.71042, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+179, 14022, 14023, 14024, 14025, 469, -7611.2, -1002.9, 440.225, 2.93215, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+180, 14022, 14023, 14024, 14025, 469, -7610.44, -992.31, 440.407, 0.506145, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+181, 14022, 14023, 14024, 14025, 469, -7609.71, -1054.55, 449.247, 0.959931, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+182, 14022, 14023, 14024, 14025, 469, -7608.47, -1066.02, 449.247, 4.6871, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+183, 14022, 14023, 14024, 14025, 469, -7607.43, -1041.7, 449.247, 5.14872, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+184, 14022, 14023, 14024, 14025, 469, -7606.54, -1020.91, 449.247, 2.70526, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+185, 14022, 14023, 14024, 14025, 469, -7606.11, -995.572, 440.293, 2.47837, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+186, 14022, 14023, 14024, 14025, 469, -7605.22, -1080.31, 449.247, 2.89725, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+187, 14022, 14023, 14024, 14025, 469, -7602.88, -1031.5, 449.247, 3.52556, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+188, 14022, 14023, 14024, 14025, 469, -7602.56, -1016.52, 449.247, 2.94961, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+189, 14022, 14023, 14024, 14025, 469, -7601.64, -1050.85, 449.247, 0.191986, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+190, 14022, 14023, 14024, 14025, 469, -7600.73, -1025.35, 449.247, 0.750492, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+191, 14022, 14023, 14024, 14025, 469, -7598.69, -1072.55, 449.247, 4.86947, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+192, 14022, 14023, 14024, 14025, 469, -7597.61, -1067.39, 449.247, 5.79449, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+193, 14022, 14023, 14024, 14025, 469, -7597.26, -1019.24, 449.247, 5.91667, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+194, 14022, 14023, 14024, 14025, 469, -7594.8, -1086.24, 449.247, 3.61283, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+195, 14022, 14023, 14024, 14025, 469, -7592.26, -1079.79, 449.247, 3.42721, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+196, 14022, 14023, 14024, 14025, 469, -7582.47, -1062.96, 449.247, 1.74533, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+197, 14022, 14023, 14024, 14025, 469, -7574.83, -1066.29, 449.247, 6.00393, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+198, 14022, 14023, 14024, 14025, 469, -7571.74, -1070.18, 449.247, 5.09636, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+199, 14022, 14023, 14024, 14025, 469, -7571, -1064.3, 449.247, 5.37561, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10),
(@BWL_CGUID+200, 14022, 14023, 14024, 14025, 469, -7565.33, -1067, 449.247, 3.36848, 30, 30, 2, 100, 100, 1, 0, 0, 4, 10);
-- Blackwing Technician
-- Should not have random movement
UPDATE `creature_template` SET `movement_type`=0 WHERE `entry`=13996;
-- Respawn to sniff data
DELETE FROM `creature` WHERE `id`=13996 AND map = 469;
INSERT INTO `creature` (`guid`, `id`, `id2`, `id3`, `id4`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecsmin`, `spawntimesecsmax`, `wander_distance`, `health_percent`, `mana_percent`, `movement_type`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
(@BWL_CGUID+201, 13996, 0, 0, 0, 469, -7467.7, -927.494, 465.067, 4.53786, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+202, 13996, 0, 0, 0, 469, -7485.81, -883.083, 465.067, 3.85718, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+203, 13996, 0, 0, 0, 469, -7523.28, -1060.82, 449.325, 4.72984, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+204, 13996, 0, 0, 0, 469, -7504.52, -1043.61, 449.325, 5.84685, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+205, 13996, 0, 0, 0, 469, -7550.22, -1038.97, 449.325, 2.60054, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+206, 13996, 0, 0, 0, 469, -7514.51, -1054.34, 449.325, 5.74213, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+207, 13996, 0, 0, 0, 469, -7541.99, -981.618, 449.325, 3.40339, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+208, 13996, 0, 0, 0, 469, -7550.8, -1014.48, 449.325, 1.18682, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+209, 13996, 0, 0, 0, 469, -7510.62, -1049.56, 449.325, 5.5676, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+210, 13996, 0, 0, 0, 469, -7550.72, -1043, 449.325, 3.50811, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+211, 13996, 0, 0, 0, 469, -7521.06, -1058.83, 449.325, 5.51524, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+212, 13996, 0, 0, 0, 469, -7546.59, -1013.29, 449.325, 0.663225, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+213, 13996, 0, 0, 0, 469, -7513.05, -1051.5, 449.325, 5.53269, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+214, 13996, 0, 0, 0, 469, -7547.72, -1014.95, 449.325, 2.11185, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+215, 13996, 0, 0, 0, 469, -7508.79, -1046.54, 449.325, 5.67232, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+216, 13996, 0, 0, 0, 469, -7551.43, -1040.67, 449.325, 3.08923, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+217, 13996, 0, 0, 0, 469, -7517.85, -1056.92, 449.325, 5.51524, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+218, 13996, 0, 0, 0, 469, -7535.72, -987.541, 449.325, 5.14872, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+219, 13996, 0, 0, 0, 469, -7541.6, -976.958, 449.325, 2.47837, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+220, 13996, 0, 0, 0, 469, -7496.73, -1040.82, 449.325, 4.13643, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+221, 13996, 0, 0, 0, 469, -7530.23, -969.405, 449.325, 2.46091, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+222, 13996, 0, 0, 0, 469, -7533.69, -972.008, 449.325, 2.19911, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+223, 13996, 0, 0, 0, 469, -7491.52, -1037.37, 449.325, 6.19592, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+224, 13996, 0, 0, 0, 469, -7543.75, -979.348, 449.325, 3.14159, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+225, 13996, 0, 0, 0, 469, -7527.31, -919.01, 457.659, 2.21657, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+226, 13996, 0, 0, 0, 469, -7527.01, -967.031, 449.325, 1.90241, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+227, 13996, 0, 0, 0, 469, -7519.58, -932.073, 457.659, 3.71755, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+228, 13996, 0, 0, 0, 469, -7514.62, -936.928, 457.659, 3.05433, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+229, 13996, 0, 0, 0, 469, -7525.49, -924.404, 457.659, 3.63028, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+230, 13996, 0, 0, 0, 469, -7515.74, -960.099, 449.325, 1.88496, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+231, 13996, 0, 0, 0, 469, -7519.75, -962.466, 449.325, 2.44346, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+232, 13996, 0, 0, 0, 469, -7523.42, -929.52, 457.659, 3.76991, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+233, 13996, 0, 0, 0, 469, -7518.07, -933.761, 457.659, 5.14872, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+234, 13996, 0, 0, 0, 469, -7526.44, -921.499, 457.659, 3.05433, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+235, 13996, 0, 0, 0, 469, -7523.22, -964.212, 449.325, 2.00713, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+236, 13996, 0, 0, 0, 469, -7524.24, -916.833, 457.659, 1.85005, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+237, 13996, 0, 0, 0, 469, -7464.94, -930.473, 465.067, 3.29867, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+238, 13996, 0, 0, 0, 469, -7456.58, -950.893, 465.067, 3.76991, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+239, 13996, 0, 0, 0, 469, -7462.47, -937.057, 465.067, 3.14159, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+240, 13996, 0, 0, 0, 469, -7459.17, -948.695, 465.067, 3.9968, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+241, 13996, 0, 0, 0, 469, -7460.6, -946.643, 465.067, 3.42085, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+242, 13996, 0, 0, 0, 469, -7453.04, -954.129, 465.067, 3.61283, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+243, 13996, 0, 0, 0, 469, -7509.21, -906.469, 457.659, 1.44862, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+244, 13996, 0, 0, 0, 469, -7506.35, -904.139, 457.659, 2.0944, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+245, 13996, 0, 0, 0, 469, -7440.32, -970.539, 465.067, 3.26377, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+246, 13996, 0, 0, 0, 469, -7443.55, -964.305, 465.067, 5.35816, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+247, 13996, 0, 0, 0, 469, -7440.23, -966.863, 465.067, 2.9147, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+248, 13996, 0, 0, 0, 469, -7484.71, -886.083, 465.067, 3.36849, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+249, 13996, 0, 0, 0, 469, -7488.13, -880.569, 465.067, 4.81711, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+250, 13996, 0, 0, 0, 469, -7472.84, -870.652, 465.067, 0.925025, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+251, 13996, 0, 0, 0, 469, -7471.76, -871.89, 465.067, 1.37881, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+252, 13996, 0, 0, 0, 469, -7474, -1020.49, 408.65, 2.82743, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+253, 13996, 0, 0, 0, 469, -7486.45, -1025.62, 408.641, 1.23918, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+254, 13996, 0, 0, 0, 469, -7492.67, -1003.49, 408.652, 0.279253, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+255, 13996, 0, 0, 0, 469, -7471.64, -1005.85, 408.648, 3.68264, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+256, 13996, 0, 0, 0, 469, -7490.95, -1014.89, 408.643, 0.663225, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+257, 13996, 0, 0, 0, 469, -7478.53, -996.153, 408.646, 4.64258, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+258, 13996, 0, 0, 0, 469, -7448.91, -868.297, 465.067, 0.244346, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+259, 13996, 0, 0, 0, 469, -7396.76, -932.977, 465.067, 0.785398, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+260, 13996, 0, 0, 0, 469, -7396.33, -935.828, 465.067, 5.55015, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+261, 13996, 0, 0, 0, 469, -7411.15, -909.451, 465.55, 6.24828, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+262, 13996, 0, 0, 0, 469, -7408.65, -917.047, 465.067, 0.418879, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+263, 13996, 0, 0, 0, 469, -7463.19, -867.522, 465.067, 2.60054, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+264, 13996, 0, 0, 0, 469, -7419.28, -895.444, 465.067, 0.907571, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+265, 13996, 0, 0, 0, 469, -7411.39, -911.361, 465.067, 5.96903, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+266, 13996, 0, 0, 0, 469, -7398.45, -930.862, 465.067, 0.453786, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+267, 13996, 0, 0, 0, 469, -7464.36, -862.938, 465.067, 3.90954, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+268, 13996, 0, 0, 0, 469, -7401.1, -918.476, 465.067, 1.91986, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+269, 13996, 0, 0, 0, 469, -7411.48, -901.349, 465.067, 0.488692, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+270, 13996, 0, 0, 0, 469, -7452.37, -863.403, 465.067, 0.279253, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+271, 13996, 0, 0, 0, 469, -7453.61, -860.511, 465.067, 1.22173, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(@BWL_CGUID+272, 13996, 0, 0, 0, 469, -7414.11, -897.39, 465.067, 0.506145, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10);
-- GameObject Respawn.
DELETE FROM `gameobject` WHERE `map` = 469 AND `id` IN (180667,180632,180631,179784,179365,179364,179148,179122,179121,179120,179119,179118,179117,179116,179115,179114,179113,179112,179111,179110,179109,179108,179107,179106,179105,179104,177824,177808,177807,176966,176965,176964,161536,153723,149046,149045);
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
(@BWL_OGUID+1, 149045, 469, -6904.81, -1206.78, 178.512, 2.9845, 0, 0, 0.996917, 0.0784664, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+2, 149046, 469, -6900.42, -1339.33, 239.652, 3.39467, 0, 0, -0.992004, 0.126203, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+3, 153723, 469, -7752.4, -1155.65, 396.695, 3.33359, 0, 0, -0.995396, 0.0958512, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+4, 161536, 469, -6756.73, -1166.7, 187.042, 1.31772, 0, 0, 0.612217, 0.79069, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+5, 176964, 469, -7639.43, -1083.94, 408.528, 3.75246, 0, 0, -0.953716, 0.300708, 120, 120, 100, 0, 0, 0, 4, 10),
(@BWL_OGUID+6, 176965, 469, -7552.37, -1022.98, 408.528, 3.75246, 0, 0, -0.953716, 0.300708, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+7, 176966, 469, -7488.17, -1150.54, 476.712, 0.610865, 0, 0, 0.300706, 0.953717, 120, 120, 100, 0, 0, 0, 4, 10),
(@BWL_OGUID+8, 177807, 469, -7628.32, -1044.57, 408.49, 6.10865, 0, 0, -0.0871553, 0.996195, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+9, 177807, 469, -7626.69, -1011.71, 413.381, 0.226893, 0, 0, 0.113203, 0.993572, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+10, 177807, 469, -7619.76, -1058.94, 408.49, 1.81514, 0, 0, 0.788011, 0.615662, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+11, 177807, 469, -7618.1, -1069.33, 408.49, 4.95674, 0, 0, -0.615661, 0.788011, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+12, 177807, 469, -7611.6, -1020.32, 413.381, 3.08918, 0, 0, 0.999657, 0.0262017, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+13, 177807, 469, -7609.94, -1035.11, 408.49, 4.34587, 0, 0, -0.824126, 0.566406, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+14, 177807, 469, -7604.36, -1060.24, 408.157, 3.50812, 0, 0, -0.983254, 0.182238, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+15, 177807, 469, -7601.14, -1077.11, 408.218, 5.0091, 0, 0, -0.594823, 0.803857, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+16, 177807, 469, -7599, -1044.77, 408.157, 5.25344, 0, 0, -0.492423, 0.870356, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+17, 177807, 469, -7597.53, -1094.54, 408.49, 2.37364, 0, 0, 0.927183, 0.374608, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+18, 177807, 469, -7594.37, -1102.9, 408.49, 5.37562, 0, 0, -0.438371, 0.898794, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+19, 177807, 469, -7592.38, -1035.68, 408.157, 1.62316, 0, 0, 0.725374, 0.688355, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+20, 177807, 469, -7592.35, -1010.84, 408.49, 3.73501, 0, 0, -0.956305, 0.292372, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+21, 177807, 469, -7588.84, -1053.79, 408.157, 4.55531, 0, 0, -0.760405, 0.649449, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+22, 177807, 469, -7586.37, -1024.43, 408.49, 3.35105, 0, 0, -0.994521, 0.104535, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+23, 177807, 469, -7584.68, -1075.84, 408.49, 3.01941, 0, 0, 0.998135, 0.0610518, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+24, 177807, 469, -7580.8, -1067.29, 408.49, 3.29869, 0, 0, -0.996917, 0.0784664, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+25, 177807, 469, -7579.49, -1051.48, 408.157, 0.523598, 0, 0, 0.258819, 0.965926, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+26, 177807, 469, -7578.64, -1089.95, 413.381, 2.21656, 0, 0, 0.894934, 0.446199, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+27, 177807, 469, -7577.84, -1035.97, 408.49, 5.16618, 0, 0, -0.529919, 0.848048, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+28, 177807, 469, -7576.92, -1083.69, 413.381, 3.38594, 0, 0, -0.992546, 0.12187, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+29, 177807, 469, -7572.49, -1095.03, 413.381, 3.42085, 0, 0, -0.990268, 0.139175, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+30, 177807, 469, -7569.38, -1079.73, 413.381, 3.59538, 0, 0, -0.97437, 0.224951, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+31, 177807, 469, -7568.62, -1086.58, 413.381, 0.85521, 0, 0, 0.414693, 0.909962, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+32, 177807, 469, -7568.27, -1097.68, 413.381, 2.79252, 0, 0, 0.984807, 0.173652, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+33, 177807, 469, -7566, -1045.93, 408.49, 3.05433, 0, 0, 0.999048, 0.0436193, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+34, 177807, 469, -7564.89, -1058.87, 408.49, 2.28638, 0, 0, 0.909961, 0.414694, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+35, 177807, 469, -7563.15, -1088.7, 413.381, 5.8294, 0, 0, -0.224951, 0.97437, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+36, 177807, 469, -7554.42, -1061.5, 408.49, 3.99681, 0, 0, -0.909961, 0.414694, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+37, 177807, 469, -7549.48, -1069.96, 408.49, 5.75959, 0, 0, -0.258819, 0.965926, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+38, 177808, 469, -7615.05, -1026.24, 413.381, 5.32326, 0, 0, -0.461748, 0.887011, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+39, 177824, 469, -7615.12, -1026.3, 413.381, 5.32326, 0, 0, -0.461748, 0.887011, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+40, 179104, 469, -7464.98, -1041.42, 411.971, 2.18166, 0, 0, 0.887011, 0.461749, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+41, 179105, 469, -7466.62, -1042.56, 411.971, 2.18166, 0, 0, 0.887011, 0.461749, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+42, 179106, 469, -7468.11, -1047.16, 411.971, 0.610865, 0, 0, 0.300706, 0.953717, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+43, 179107, 469, -7459.67, -1041.25, 411.971, 3.75246, 0, 0, -0.953716, 0.300708, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+44, 179108, 469, -7464.79, -1048.65, 411.971, 2.18166, 0, 0, 0.887011, 0.461749, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+45, 179109, 469, -7459.43, -1044.9, 411.971, 2.18166, 0, 0, 0.887011, 0.461749, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+46, 179110, 469, -7618.74, -1009.88, 413.382, 4.6513, 0, 0, -0.728371, 0.685183, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+47, 179111, 469, -7623.49, -1009.64, 413.382, 4.89565, 0, 0, -0.639439, 0.768842, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+48, 179112, 469, -7628.56, -1012.67, 413.382, 5.75086, 0, 0, -0.26303, 0.964788, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+49, 179113, 469, -7629.54, -1017.33, 413.382, 6.06502, 0, 0, -0.108867, 0.994056, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+50, 179114, 469, -7627.56, -1009.03, 413.382, 5.36689, 0, 0, -0.442288, 0.896873, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+51, 179115, 469, -7455.24, -1051.71, 480.03, 2.18166, 0, 0, 0.887011, 0.461749, 120, 120, 100, 0, 0, 0, 4, 10),
(@BWL_OGUID+52, 179116, 469, -7506.29, -1043.16, 480.03, 0.610865, 0, 0, 0.300706, 0.953717, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+53, 179117, 469, -7464, -1103.55, 480.03, 0.610865, 0, 0, 0.300706, 0.953717, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+54, 179118, 469, -7588.27, -1261.92, 482.03, 0.610865, 0, 0, 0.300706, 0.953717, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+55, 179119, 469, -7579.63, -912.661, 428.384, 3.75246, 0, 0, -0.953716, 0.300708, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+56, 179120, 469, -7592.78, -921.296, 428.426, 3.75246, 0, 0, -0.953716, 0.300708, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+57, 179121, 469, -7683.71, -1052.78, 440.643, 3.75246, 0, 0, -0.953716, 0.300708, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+58, 179122, 469, -7691.45, -1040.23, 440.685, 3.75246, 0, 0, -0.953716, 0.300708, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+59, 179148, 469, -7510.98, -1094.69, 476.555, 5.34071, 0, 0, -0.45399, 0.891007, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+60, 179364, 469, -7531.22, -956.411, 428.252, 5.32326, 0, 0, -0.461748, 0.887011, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+61, 179365, 469, -7568.43, -1031.59, 449.109, 3.75246, 0, 0, -0.953716, 0.300708, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+62, 179784, 469, -7716.1, -1077.45, 445.176, 0.872664, 0, 0, 0.422618, 0.906308, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+63, 179784, 469, -7713.14, -1060.04, 445.176, 5.09636, 0, 0, -0.559193, 0.829038, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+64, 179784, 469, -7709.17, -1017.01, 440.446, 0.471238, 0, 0, 0.233445, 0.97237, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+65, 179784, 469, -7699.2, -1030.98, 440.588, 0.558504, 0, 0, 0.275637, 0.961262, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+66, 179784, 469, -7691.97, -1105.41, 449.13, 0.628317, 0, 0, 0.309016, 0.951057, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+67, 179784, 469, -7691.26, -1002.38, 440.244, 0.418879, 0, 0, 0.207912, 0.978148, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+68, 179784, 469, -7686.85, -1047.04, 440.371, 0.558504, 0, 0, 0.275637, 0.961262, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+69, 179784, 469, -7680.51, -1018.7, 439.983, 0.558504, 0, 0, 0.275637, 0.961262, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+70, 179784, 469, -7680.11, -1123.29, 449.105, 0.523598, 0, 0, 0.258819, 0.965926, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+71, 179784, 469, -7677.68, -1095.24, 449.135, 0.628317, 0, 0, 0.309016, 0.951057, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+72, 179784, 469, -7677.63, -994.426, 440.259, 0.383971, 0, 0, 0.190808, 0.981627, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+73, 179784, 469, -7669.46, -1034.2, 440.244, 0.541051, 0, 0, 0.267238, 0.963631, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+74, 179784, 469, -7667.54, -1008.34, 440.259, 0.523598, 0, 0, 0.258819, 0.965926, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+75, 179784, 469, -7665.26, -1113.61, 449.164, 0.523598, 0, 0, 0.258819, 0.965926, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+76, 179784, 469, -7664.82, -984.057, 440.247, 0.314158, 0, 0, 0.156434, 0.987688, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+77, 179784, 469, -7663.99, -1084.89, 449.164, 0.628317, 0, 0, 0.309016, 0.951057, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+78, 179784, 469, -7656.67, -1024.32, 440.257, 0.506145, 0, 0, 0.25038, 0.968148, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+79, 179784, 469, -7653.69, -999.919, 439.986, 0.506145, 0, 0, 0.25038, 0.968148, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+80, 179784, 469, -7651.32, -1103.53, 449.164, 0.523598, 0, 0, 0.258819, 0.965926, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+81, 179784, 469, -7650.9, -975.792, 440.263, 0.226893, 0, 0, 0.113203, 0.993572, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+82, 179784, 469, -7647.78, -1066.97, 449.164, 0.558504, 0, 0, 0.275637, 0.961262, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+83, 179784, 469, -7642.73, -1015.65, 440.245, 0.471238, 0, 0, 0.233445, 0.97237, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+84, 179784, 469, -7640.29, -991.302, 440.263, 0.453785, 0, 0, 0.224951, 0.97437, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+85, 179784, 469, -7637.93, -1081.13, 449.164, 0.453785, 0, 0, 0.224951, 0.97437, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+86, 179784, 469, -7637.64, -965.023, 440.275, 0.0174525, 0, 0, 0.00872612, 0.999962, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+87, 179784, 469, -7630.29, -1005.49, 440.262, 0.401425, 0, 0, 0.199367, 0.979925, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+88, 179784, 469, -7629.78, -1061.48, 449.164, 0.628317, 0, 0, 0.309016, 0.951057, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+89, 179784, 469, -7627.98, -1095.31, 449.164, 0.541051, 0, 0, 0.267238, 0.963631, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+90, 179784, 469, -7626.95, -981.359, 440.023, 0.157079, 0, 0, 0.0784588, 0.996917, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+91, 179784, 469, -7620.09, -1075.73, 449.164, 0.471238, 0, 0, 0.233445, 0.97237, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+92, 179784, 469, -7619.15, -1047.15, 449.164, 0.506145, 0, 0, 0.25038, 0.968148, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+93, 179784, 469, -7616.21, -997.084, 440.282, 0.209439, 0, 0, 0.104528, 0.994522, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+94, 179784, 469, -7609.89, -1061.46, 449.164, 0.418879, 0, 0, 0.207912, 0.978148, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+95, 179784, 469, -7605.95, -1045.06, 449.164, 0.645772, 0, 0, 0.317305, 0.948324, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+96, 179784, 469, -7595.77, -1080, 449.164, 0.558504, 0, 0, 0.275637, 0.961262, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+97, 179784, 469, -7595.27, -1030.42, 449.164, 0.314158, 0, 0, 0.156434, 0.987688, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+98, 179784, 469, -7593.77, -1063.45, 449.164, 0.471238, 0, 0, 0.233445, 0.97237, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+99, 179784, 469, -7572.59, -1062.57, 449.164, 0.541051, 0, 0, 0.267238, 0.963631, 300, 300, 0, 1, 0, 0, 4, 10),
(@BWL_OGUID+100, 180631, 469, -7545.93, -978.483, 449.213, 2.96704, 0, 0, 0.996194, 0.087165, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+101, 180632, 469, -7554.89, -1039.86, 449.213, 2.96704, 0, 0, 0.996194, 0.087165, 120, 120, 100, 1, 0, 0, 4, 10),
(@BWL_OGUID+102, 180667, 469, -7526.57, -924.776, 458.826, 0.558504, 0, 0, 0.275637, 0.961262, 900, 900, 100, 1, 0, 0, 7, 10);
-- Reapply script
UPDATE `gameobject_scripts` SET `id`=234837, `datalong`=234830, `comments`='Open Chromaggus door' WHERE `id`=361967;
-- Correct faction and flags
UPDATE `gameobject_template` SET `faction`=114 WHERE `entry`=176964 AND `patch`=4;
UPDATE `gameobject_template` SET `faction`=114 WHERE `entry`=176965 AND `patch`=4;
UPDATE `gameobject_template` SET `faction`=114 WHERE `entry`=176966 AND `patch`=4;
UPDATE `gameobject_template` SET `faction`=114 WHERE `entry`=179115 AND `patch`=4;
UPDATE `gameobject_template` SET `faction`=114 WHERE `entry`=179116 AND `patch`=4;
UPDATE `gameobject_template` SET `faction`=114 WHERE `entry`=179117 AND `patch`=4;
UPDATE `gameobject_template` SET `faction`=114 WHERE `entry`=179364 AND `patch`=4;
UPDATE `gameobject_template` SET `faction`=114 WHERE `entry`=179365 AND `patch`=4;
UPDATE `gameobject_template` SET `faction`=14 WHERE `entry`=177807 AND `patch`=4;
UPDATE `gameobject_template` SET `flags`=32 WHERE `entry`=176964 AND `patch`=4;
UPDATE `gameobject_template` SET `flags`=32 WHERE `entry`=176965 AND `patch`=4;
UPDATE `gameobject_template` SET `flags`=32 WHERE `entry`=176966 AND `patch`=4;
UPDATE `gameobject_template` SET `flags`=0 WHERE `entry`=177807 AND `patch`=4;
UPDATE `gameobject_template` SET `flags`=32 WHERE `entry`=179115 AND `patch`=4;
UPDATE `gameobject_template` SET `flags`=32 WHERE `entry`=179116 AND `patch`=4;
UPDATE `gameobject_template` SET `flags`=32 WHERE `entry`=179117 AND `patch`=4;
UPDATE `gameobject_template` SET `flags`=32 WHERE `entry`=179364 AND `patch`=4;
UPDATE `gameobject_template` SET `flags`=32 WHERE `entry`=179365 AND `patch`=4;
-- Fix Draconic for Dummies.
-- Draconic for Dummies was mixed up and wrong positioned.
UPDATE `gameobject_template` SET `faction`=35 WHERE `entry`=180667 AND `patch`=7;
UPDATE `gameobject_template` SET `faction`=35 WHERE `entry`=180665 AND `patch`=7;
UPDATE `gossip_scripts` SET `datalong`=25763, `comments`='Give Draconic for Dummies Chap. VII' WHERE `id`=6668;
UPDATE `gossip_scripts` SET `datalong`=25764, `comments`='Give Draconic for Dummies Chap. V' WHERE `id`=6669;
UPDATE `gameobject` SET `id`=180665, `map`=0, `position_x`=-8340.2, `position_y`=413.75, `position_z`=124.49, `orientation`=2.82743, `rotation2`=0.987688, `rotation3`=0.156436 WHERE `guid`=397018;
UPDATE `gameobject` SET `orientation`=5.88176, `rotation2`=-0.199367 WHERE `guid`=45065;
-- Draconic for Dummies (180667) is in BWL only.
DELETE FROM `gameobject` WHERE `guid`=397016;
-- Delete custom Nefarian object, it has no use
DELETE FROM `gameobject_template` WHERE `entry`=200000;
DELETE FROM `locales_gameobject` WHERE `entry`=200000;
DELETE FROM `gameobject` WHERE `guid`=35829;
-- Delete custom Vael object, it has no use
DELETE FROM `gameobject_template` WHERE `entry`=300500;
DELETE FROM `locales_gameobject` WHERE `entry`=300500;
DELETE FROM `gameobject` WHERE `guid`=397002;
-- Delete custom spawned 2nd Alchemy Lab
DELETE FROM `gameobject` WHERE `guid`=35793;
-- Update Blackwing Guardsman position to true spawn sniff
UPDATE `creature` SET `position_x`=-7615.01, `position_y`=-1021.55, `position_z`=413.465, `orientation`=0.610865 WHERE `guid`=84390;
UPDATE `creature` SET `position_x`=-7619.66, `position_y`=-1025.14, `position_z`=413.465, `orientation`=3.68264 WHERE `guid`=84391;
-- Update Grethok The Controller
UPDATE `creature` SET `position_x`=-7616.54, `position_y`=-1024.1, `position_z`=413.465, `orientation`=5.27089 WHERE `guid`=84389;
-- Correct Death Talon Hatcher
-- Delete all waypoints
-- First floor
DELETE FROM `creature_movement` WHERE `id` IN (300382, 300383, 300384, 300385, 300386, 300387);
-- Second floor
DELETE FROM `creature_movement` WHERE `id` IN (300388, 300389, 300390, 300391, 300392, 300393);
-- Delete custom spawn
DELETE FROM `creature` WHERE `guid` = 300393;
-- Update position to true sniff spawn
UPDATE `creature` SET `position_x`=-7649.65, `position_y`=-1019.96, `position_z`=440.337, `orientation`=6.02139 WHERE `guid`=300382;
UPDATE `creature` SET `position_x`=-7668.59, `position_y`=-986.566, `position_z`=440.329, `orientation`=5.07891 WHERE `guid`=300383;
UPDATE `creature` SET `position_x`=-7672.9, `position_y`=-1040.24, `position_z`=440.283, `orientation`=0.855211 WHERE `guid`=300384;
UPDATE `creature` SET `position_x`=-7639.87, `position_y`=-968.104, `position_z`=440.093, `orientation`=2.23402 WHERE `guid`=300385;
UPDATE `creature` SET `position_x`=-7619.81, `position_y`=-998.766, `position_z`=440.357, `orientation`=3.05433 WHERE `guid`=300386;
UPDATE `creature` SET `position_x`=-7695.58, `position_y`=-1005.32, `position_z`=440.326, `orientation`=3.01942 WHERE `guid`=300387;
UPDATE `creature` SET `position_x`=-7654.69, `position_y`=-1099.82, `position_z`=449.247, `orientation`=2.25147 WHERE `guid`=300388;
UPDATE `creature` SET `position_x`=-7650.22, `position_y`=-1057.18, `position_z`=449.251, `orientation`=3.735 WHERE `guid`=300389;
UPDATE `creature` SET `position_x`=-7592.62, `position_y`=-1075.35, `position_z`=449.248, `orientation`=5.37561 WHERE `guid`=300390;
UPDATE `creature` SET `position_x`=-7630.33, `position_y`=-1101.62, `position_z`=449.247, `orientation`=3.94444 WHERE `guid`=300391;
UPDATE `creature` SET `position_x`=-7624.27, `position_y`=-1034.78, `position_z`=449.247, `orientation`=3.92699 WHERE `guid`=300392;
-- Pathing for Death Talon Hatcher 1 Entry: 12468
SET @NPC := 300385;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7640.563,-967.4944,440.1982,100,0,0,0),
(@NPC,2,-7605.952,-984.1891,440.2218,100,0,0,0);
-- .go xyz -7640.563 -967.4944 440.1982
-- Pathing for Death Talon Hatcher 2 Entry: 12468
SET @NPC := 300386;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7619.219,-999.3212,440.3167,100,0,0,0),
(@NPC,2,-7653.81,-979.4092,440.3279,100,0,0,0);
-- .go xyz -7619.219 -999.3212 440.3167
-- Pathing for Death Talon Hatcher 3 Entry: 12468
SET @NPC := 300383;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7667.949,-986.942,440.3265,100,0,0,0),
(@NPC,2,-7633.181,-1007.747,440.2285,100,0,0,0);
-- .go xyz -7667.949 -986.942 440.3265
-- Pathing for Death Talon Hatcher 4 Entry: 12468
SET @NPC := 300382;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7647.917,-1020.315,440.2441,100,0,0,0),
(@NPC,2,-7664.983,-1005.613,440.256,100,0,0,0),
(@NPC,3,-7684.106,-996.9171,440.3137,100,0,0,0),
(@NPC,4,-7664.983,-1005.613,440.256,100,0,0,0);
-- .go xyz -7647.917 -1020.315 440.2441
-- Pathing for Death Talon Hatcher 5 Entry: 12468
SET @NPC := 300387;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7696.824,-1004.108,440.3023,100,0,0,0),
(@NPC,2,-7676.078,-1015.517,440.2686,100,0,0,0),
(@NPC,3,-7669.213,-1020.561,440.2971,100,0,0,0),
(@NPC,4,-7676.078,-1015.517,440.2686,100,0,0,0);
-- .go xyz -7696.824 -1004.108 440.3023
-- Pathing for Death Talon Hatcher 6 Entry: 12468
SET @NPC := 300384;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7670.404,-1038.784,440.1795,100,0,0,0),
(@NPC,2,-7705.59,-1013.899,440.424,100,0,0,0);
-- .go xyz -7670.404 -1038.784 440.1795
-- 2nd floor
-- Pathing for Death Talon Hatcher 7 Entry: 12468
SET @NPC := 300388;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7648.962,-1087.889,449.166,100,0,0,0),
(@NPC,2,-7680.624,-1110.734,449.166,100,0,0,0);
-- .go xyz -7648.962 -1087.889 449.166
-- Pathing for Death Talon Hatcher 8 Entry: 12468
SET @NPC := 300391;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7629.752,-1102.857,449.166,100,0,0,0),
(@NPC,2,-7631.941,-1078.192,449.166,100,0,0,0),
(@NPC,3,-7642.193,-1059.896,449.3444,100,0,0,0),
(@NPC,4,-7631.941,-1078.192,449.166,100,0,0,0);
-- .go xyz -7629.752 -1102.857 449.166
-- Pathing for Death Talon Hatcher 9 Entry: 12468
SET @NPC := 300389;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7651.039,-1056.831,449.3443,100,0,0,0),
(@NPC,2,-7624.977,-1078.775,449.166,100,0,0,0),
(@NPC,3,-7609.386,-1084.477,449.166,100,0,0,0),
(@NPC,4,-7624.977,-1078.775,449.166,100,0,0,0);
-- .go xyz -7651.039 -1056.831 449.3443
-- Pathing for Death Talon Hatcher 10 Entry: 12468
SET @NPC := 300390;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7591.819,-1076.511,449.166,100,0,0,0),
(@NPC,2,-7633.577,-1053.723,449.3444,100,0,0,0);
-- .go xyz -7591.819 -1076.511 449.166
-- Pathing for Death Talon Hatcher 11 Entry: 12468
SET @NPC := 300392;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7624.887,-1036.406,449.3443,100,0,0,0),
(@NPC,2,-7625.613,-1049.305,449.3443,100,0,0,0),
(@NPC,3,-7608.662,-1082.751,449.166,100,0,0,0),
(@NPC,4,-7625.613,-1049.305,449.3443,100,0,0,0);
-- .go xyz -7624.887 -1036.406 449.3443
-- Correct Blackwing Taskmaster
-- Delete old scripts for Blackwing Taskmaster
DELETE FROM `creature_movement_scripts` WHERE (`id` IN (25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54));
-- Delete waypoints
-- First pack
DELETE FROM `creature_movement` WHERE `id` IN (300628, 300629, 300630);
-- Second pack
DELETE FROM `creature_movement` WHERE `id` IN (300631, 300632, 300633);
-- Third pack
DELETE FROM `creature_movement` WHERE `id` IN (300634, 300635, 300636);
-- Delete 4th pack, custom spawn
DELETE FROM `creature_movement` WHERE `id` IN (300637, 300638, 300639);
DELETE FROM `creature` WHERE `guid` IN (300637, 300638, 300639);
DELETE FROM `creature_groups` WHERE `leader_guid`=300637;
-- Update position to true sniff spawn
UPDATE `creature` SET `position_x`=-7594.02, `position_y`=-987.55, `position_z`=440.449, `orientation`=6.05629 WHERE `guid`=300628;
UPDATE `creature` SET `position_x`=-7596.28, `position_y`=-987.925, `position_z`=440.176, `orientation`=0.0349066 WHERE `guid`=300629;
UPDATE `creature` SET `position_x`=-7594.45, `position_y`=-991.831, `position_z`=440.179, `orientation`=0.959931 WHERE `guid`=300630;
UPDATE `creature` SET `position_x`=-7712.12, `position_y`=-1061.7, `position_z`=445.26, `orientation`=0.523599 WHERE `guid`=300631;
UPDATE `creature` SET `position_x`=-7708.62, `position_y`=-1064.7, `position_z`=445.26, `orientation`=2.98451 WHERE `guid`=300632;
UPDATE `creature` SET `position_x`=-7711.34, `position_y`=-1064.65, `position_z`=445.26, `orientation`=5.5676 WHERE `guid`=300633;
UPDATE `creature` SET `position_x`=-7714.44, `position_y`=-1074.78, `position_z`=445.26, `orientation`=2.16421 WHERE `guid`=300634;
UPDATE `creature` SET `position_x`=-7710.94, `position_y`=-1073.63, `position_z`=445.26, `orientation`=2.25147 WHERE `guid`=300635;
UPDATE `creature` SET `position_x`=-7711.3, `position_y`=-1076.48, `position_z`=445.26, `orientation`=2.37365 WHERE `guid`=300636;
-- Blackwing Taskmaster pack 1
DELETE FROM `creature_groups` WHERE `member_guid`=300630;
DELETE FROM `creature_groups` WHERE `member_guid`=300629;
DELETE FROM `creature_groups` WHERE `member_guid`=300628;
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
(300629, 300628, 3, 3.12, 1),
(300629, 300629, 0, 0, 1),
(300629, 300630, 4, 1.56, 1);
UPDATE `creature` SET `movement_type`=0 WHERE `guid`=300630;
UPDATE `creature` SET `movement_type`=2 WHERE `guid`=300629;
-- Pathing for Blackwing Taskmaster Entry: 12458
SET @NPC := 300629;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7595.672,-988.9937,440.1443,100,0,0,0),
(@NPC,2,-7610.641,-984.5477,440.2197,100,0,0,0),
(@NPC,3,-7620.448,-985.0109,440.2546,100,0,0,0),
(@NPC,4,-7624.835,-986.701,440.276,100,0,0,0),
(@NPC,5,-7634.969,-989.9937,440.2983,100,0,0,0),
(@NPC,6,-7644.41,-979.6061,440.3026,100,0,0,0),
(@NPC,7,-7649.094,-972.2944,440.2824,100,0,0,0),
(@NPC,8,-7625.999,-977.4044,440.2481,100,0,0,0),
(@NPC,9,-7622.676,-987.7399,440.2719,100,0,0,0),
(@NPC,10,-7636.273,-1000.11,440.2984,100,0,0,0),
(@NPC,11,-7637.399,-1010.427,440.1615,100,0,0,0),
(@NPC,12,-7647.332,-1011.346,440.1443,100,0,0,0),
(@NPC,13,-7658.341,-1002.132,440.2103,100,0,0,0),
(@NPC,14,-7661.772,-988.5689,440.2812,100,0,0,0),
(@NPC,15,-7649.554,-984.3552,440.322,100,0,0,0),
(@NPC,16,-7637.204,-978.4598,440.2475,100,0,0,0),
(@NPC,17,-7634.491,-969.407,440.2122,100,0,0,0),
(@NPC,18,-7626.255,-967.6956,440.2155,100,0,0,0),
(@NPC,19,-7619.713,-975.4172,440.2189,100,0,0,0),
(@NPC,20,-7614.898,-986.8362,440.2361,100,0,0,0),
(@NPC,21,-7619.718,-993.6684,440.2824,100,0,0,0),
(@NPC,22,-7626.135,-996.6401,440.3147,100,0,0,0),
(@NPC,23,-7632.956,-996.5212,440.3277,100,0,0,0),
(@NPC,24,-7653.352,-993.4436,440.2097,100,0,0,0),
(@NPC,25,-7632.956,-996.5212,440.3277,100,0,0,0),
(@NPC,26,-7626.183,-996.6392,440.3113,100,0,0,0),
(@NPC,27,-7619.718,-993.6684,440.2824,100,0,0,0),
(@NPC,28,-7614.898,-986.8362,440.2361,100,0,0,0),
(@NPC,29,-7619.713,-975.4172,440.2189,100,0,0,0),
(@NPC,30,-7626.255,-967.6956,440.2155,100,0,0,0),
(@NPC,31,-7634.491,-969.407,440.2122,100,0,0,0),
(@NPC,32,-7637.204,-978.4598,440.2475,100,0,0,0),
(@NPC,33,-7649.554,-984.3552,440.322,100,0,0,0),
(@NPC,34,-7661.772,-988.5689,440.2812,100,0,0,0),
(@NPC,35,-7658.341,-1002.132,440.2103,100,0,0,0),
(@NPC,36,-7647.332,-1011.346,440.1443,100,0,0,0),
(@NPC,37,-7637.547,-1010.44,440.1715,100,0,0,0),
(@NPC,38,-7636.273,-1000.11,440.2984,100,0,0,0),
(@NPC,39,-7622.676,-987.7399,440.2719,100,0,0,0),
(@NPC,40,-7625.999,-977.4044,440.2481,100,0,0,0),
(@NPC,41,-7649.094,-972.2944,440.2824,100,0,0,0),
(@NPC,42,-7644.41,-979.6061,440.3026,100,0,0,0),
(@NPC,43,-7634.969,-989.9937,440.2983,100,0,0,0),
(@NPC,44,-7624.835,-986.701,440.276,100,0,0,0),
(@NPC,45,-7620.448,-985.0109,440.2546,100,0,0,0),
(@NPC,46,-7610.641,-984.5477,440.2197,100,0,0,0);
-- .go xyz -7595.672 -988.9937 440.1443
-- Blackwing Taskmaster pack 2
DELETE FROM `creature_groups` WHERE `member_guid`=300633;
DELETE FROM `creature_groups` WHERE `member_guid`=300632;
DELETE FROM `creature_groups` WHERE `member_guid`=300631;
UPDATE `creature` SET `movement_type`=0 WHERE `guid`=300632;
UPDATE `creature` SET `movement_type`=2 WHERE `guid`=300633;
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
(300633, 300631, 3, 1.56, 1),
(300633, 300632, 4, 3.12, 1),
(300633, 300633, 0, 0, 1);
-- Pathing for Blackwing Taskmaster pack 2 Entry: 12458
SET @NPC := 300633;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7711.666,-1063.976,445.3443,100,0,0,0),
(@NPC,2,-7695.097,-1052.926,440.7443,100,0,0,0),
(@NPC,3,-7679.78,-1047.461,440.2774,100,0,0,0),
(@NPC,4,-7683.866,-1038.302,440.5618,100,0,0,0),
(@NPC,5,-7690.041,-1030.21,440.5775,100,0,0,0),
(@NPC,6,-7696.855,-1024.059,440.6169,100,0,0,0),
(@NPC,7,-7699.01,-1015.984,440.5662,100,0,0,0),
(@NPC,8,-7704.313,-1004.795,440.2489,100,0,0,0),
(@NPC,9,-7700.935,-1000.517,440.2334,100,0,0,0),
(@NPC,10,-7698.791,-993.4288,440.2071,100,0,0,0),
(@NPC,11,-7691.953,-996.8887,440.3041,100,0,0,0),
(@NPC,12,-7682.151,-1002.882,440.2754,100,0,0,0),
(@NPC,13,-7674.749,-1001.641,440.3324,100,0,0,0),
(@NPC,14,-7674.316,-1009.231,440.3056,100,0,0,0),
(@NPC,15,-7667.698,-1013.725,440.3345,100,0,0,0),
(@NPC,16,-7663.987,-1021.786,440.329,100,0,0,0),
(@NPC,17,-7660.584,-1033.68,440.2648,100,0,0,0),
(@NPC,18,-7672.197,-1040.59,440.1573,100,0,0,0),
(@NPC,19,-7677.878,-1033.48,440.1853,100,0,0,0),
(@NPC,20,-7682.595,-1022.212,440.1965,100,0,0,0),
(@NPC,21,-7692.392,-1018.374,440.2461,100,0,0,0),
(@NPC,22,-7700.767,-1021.952,440.6318,100,0,0,0),
(@NPC,23,-7705.158,-1015.443,440.4985,100,0,0,0),
(@NPC,24,-7700.767,-1021.952,440.6318,100,0,0,0),
(@NPC,25,-7692.392,-1018.374,440.2461,100,0,0,0),
(@NPC,26,-7682.595,-1022.212,440.1965,100,0,0,0),
(@NPC,27,-7677.878,-1033.48,440.1853,100,0,0,0),
(@NPC,28,-7672.197,-1040.59,440.1573,100,0,0,0),
(@NPC,29,-7660.584,-1033.68,440.2648,100,0,0,0),
(@NPC,30,-7663.987,-1021.786,440.329,100,0,0,0),
(@NPC,31,-7667.698,-1013.725,440.3345,100,0,0,0),
(@NPC,32,-7674.316,-1009.231,440.3056,100,0,0,0),
(@NPC,33,-7674.749,-1001.641,440.3324,100,0,0,0),
(@NPC,34,-7682.151,-1002.882,440.2754,100,0,0,0),
(@NPC,35,-7691.953,-996.8887,440.3041,100,0,0,0),
(@NPC,36,-7698.791,-993.4288,440.2071,100,0,0,0),
(@NPC,37,-7700.935,-1000.517,440.2334,100,0,0,0),
(@NPC,38,-7704.313,-1004.795,440.2489,100,0,0,0),
(@NPC,39,-7699.01,-1015.984,440.5662,100,0,0,0),
(@NPC,40,-7696.855,-1024.059,440.6169,100,0,0,0),
(@NPC,41,-7690.041,-1030.21,440.5775,100,0,0,0),
(@NPC,42,-7683.866,-1038.302,440.5618,100,0,0,0),
(@NPC,43,-7679.78,-1047.461,440.2774,100,0,0,0),
(@NPC,44,-7695.097,-1052.926,440.7443,100,0,0,0);
-- .go xyz -7711.666 -1063.976 445.3443
-- Pathing for Blackwing Taskmaster pack 3 Entry: 12458
DELETE FROM `creature_groups` WHERE `member_guid`=300634;
DELETE FROM `creature_groups` WHERE `member_guid`=300635;
DELETE FROM `creature_groups` WHERE `member_guid`=300636;
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
(300636, 300634, 3, 3.12, 1),
(300636, 300635, 4, 1.56, 1),
(300636, 300636, 0, 0, 1);
SET @NPC := 300636;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7712.01,-1073.5797,445.36597,100,0,0,0),
(@NPC,2,-7701.1797,-1089.7532,449.16595,100,0,0,0),
(@NPC,3,-7693.2285,-1096.2832,449.16592,100,0,0,0),
(@NPC,4,-7687.568,-1104.8408,449.166,100,0,0,0),
(@NPC,5,-7680.3384,-1118.2802,449.166,100,0,0,0),
(@NPC,6,-7670.0103,-1119.6841,449.166,100,0,0,0),
(@NPC,7,-7658.763,-1114.8837,449.166,100,0,0,0),
(@NPC,8,-7665.0835,-1108.2699,449.166,100,0,0,0),
(@NPC,9,-7671.085,-1100.4249,449.166,100,0,0,0),
(@NPC,10,-7678.1685,-1087.581,449.166,100,0,0,0),
(@NPC,11,-7672.317,-1084.5806,449.166,100,0,0,0),
(@NPC,12,-7661.635,-1091.0625,449.166,100,0,0,0),
(@NPC,13,-7651.3926,-1110.7778,449.166,100,0,0,0),
(@NPC,14,-7644.75,-1097.2184,449.166,100,0,0,0),
(@NPC,15,-7639.315,-1088.736,449.166,100,0,0,0),
(@NPC,16,-7646.053,-1079.4196,449.166,100,0,0,0),
(@NPC,17,-7639.315,-1088.736,449.166,100,0,0,0),
(@NPC,18,-7644.75,-1097.2184,449.166,100,0,0,0),
(@NPC,19,-7651.3926,-1110.7778,449.166,100,0,0,0),
(@NPC,20,-7661.635,-1091.0625,449.166,100,0,0,0),
(@NPC,21,-7672.317,-1084.5806,449.166,100,0,0,0),
(@NPC,22,-7678.1685,-1087.581,449.166,100,0,0,0),
(@NPC,23,-7671.085,-1100.4249,449.166,100,0,0,0),
(@NPC,24,-7665.0835,-1108.2699,449.166,100,0,0,0),
(@NPC,25,-7658.763,-1114.8837,449.166,100,0,0,0),
(@NPC,26,-7670.0103,-1119.6841,449.166,100,0,0,0),
(@NPC,27,-7680.3384,-1118.2802,449.166,100,0,0,0),
(@NPC,28,-7687.568,-1104.8408,449.166,100,0,0,0),
(@NPC,29,-7693.2285,-1096.2832,449.16592,100,0,0,0),
(@NPC,30,-7701.1797,-1089.7532,449.16595,100,0,0,0);
-- .go xyz -7712.01 -1073.5797 445.36597
-- Correct Death Talon packs
-- First Pack
UPDATE `creature` SET `id`=12467, `id2`=12465, `id3`=12464, `id4`=12463, `position_x`=-7527.61, `position_y`=-904.831, `position_z`=428.011, `orientation`=4.45059, `mana_percent`=100 WHERE `guid`=84519;
UPDATE `creature` SET `id`=12467, `id2`=12465, `id3`=12464, `id4`=12463, `position_x`=-7539.27, `position_y`=-905.861, `position_z`=428.093, `orientation`=5.91667, `mana_percent`=100 WHERE `guid`=84520;
UPDATE `creature` SET `id`=12467, `id2`=12465, `id3`=12464, `id4`=12463, `position_x`=-7534.13, `position_y`=-924.27, `position_z`=428.045, `orientation`=0.855211, `mana_percent`=100 WHERE `guid`=84521;
UPDATE `creature` SET `id`=12467, `id2`=12465, `id3`=12464, `id4`=12463, `position_x`=-7517.52, `position_y`=-912.762, `position_z`=428.026, `orientation`=3.36849, `mana_percent`=100 WHERE `guid`=84522;
UPDATE `creature` SET `id`=12467, `id2`=12465, `id3`=12464, `id4`=12463, `position_x`=-7541.13, `position_y`=-917.746, `position_z`=428.11, `orientation`=0.0523599, `mana_percent`=100 WHERE `guid`=84523;
UPDATE `creature` SET `id`=12467, `id2`=12465, `id3`=12464, `id4`=12463, `position_x`=-7522.07, `position_y`=-924.434, `position_z`=428.001, `orientation`=2.07694, `mana_percent`=100 WHERE `guid`=84524;
-- Second pack
UPDATE `creature` SET `id`=12467, `id2`=12465, `id3`=12464, `id4`=12463, `position_x`=-7576.75, `position_y`=-922.269, `position_z`=428.383, `orientation`=3.76991, `mana_percent`=100 WHERE `guid`=84525;
UPDATE `creature` SET `id`=12467, `id2`=12465, `id3`=12464, `id4`=12463, `position_x`=-7587.03, `position_y`=-916.311, `position_z`=428.462, `orientation`=5.00909, `mana_percent`=100 WHERE `guid`=84526;
UPDATE `creature` SET `id`=12467, `id2`=12465, `id3`=12464, `id4`=12463, `position_x`=-7580.12, `position_y`=-940.164, `position_z`=428.259, `orientation`=2.04204, `mana_percent`=100 WHERE `guid`=84527;
UPDATE `creature` SET `id`=12467, `id2`=12465, `id3`=12464, `id4`=12463, `position_x`=-7591.24, `position_y`=-941.373, `position_z`=428.301, `orientation`=1.27409, `mana_percent`=100 WHERE `guid`=84528;
UPDATE `creature` SET `id`=12467, `id2`=12465, `id3`=12464, `id4`=12463, `position_x`=-7572.26, `position_y`=-932.452, `position_z`=428.302, `orientation`=2.87979, `mana_percent`=100 WHERE `guid`=84529;
UPDATE `creature` SET `id`=12467, `id2`=12465, `id3`=12464, `id4`=12463, `position_x`=-7595.81, `position_y`=-931.231, `position_z`=428.359, `orientation`=0.20944, `mana_percent`=100 WHERE `guid`=84530;
-- Delete custom spawns
DELETE FROM `creature` WHERE `guid` IN (84531, 84532);
DELETE FROM `creature_groups` WHERE `member_guid`=84531;
DELETE FROM `creature_groups` WHERE `member_guid`=84532;
-- Delete old group
DELETE FROM `creature_groups` WHERE `leader_guid`=84520;
DELETE FROM `creature_groups` WHERE `leader_guid`=84519;
-- Add to group
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
(84519, 84519, 0, 0, 46),
(84519, 84520, 0, 0, 46),
(84519, 84521, 0, 0, 46),
(84519, 84522, 0, 0, 46),
(84519, 84523, 0, 0, 46),
(84519, 84524, 0, 0, 46);
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
(84525, 84525, 0, 0, 46),
(84525, 84526, 0, 0, 46),
(84525, 84527, 0, 0, 46),
(84525, 84528, 0, 0, 46),
(84525, 84529, 0, 0, 46),
(84525, 84530, 0, 0, 46);
-- Max one Captain per pack, max 2 NPCs of other entries
INSERT INTO `creature_groups_entry_limit` (`leader_guid`, `creature_id`, `min_count`, `max_count`) VALUES
(84519, 12467, 1, 1),
(84519, 12465, 1, 2),
(84519, 12464, 1, 2),
(84519, 12463, 1, 2),
(84525, 12467, 1, 1),
(84525, 12465, 1, 2),
(84525, 12464, 1, 2),
(84525, 12463, 1, 2);
-- Add pooling to BWL Death Talon Overseer pack in the firemaw room
-- Should be 1 Wyrmguard per pack, rest Overseer in random positions.
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
(14007, 1, 'BWL Overseer pack', 0, 0, 4, 10),
(14008, 4, 'BWL Overseer pack Variant 1', 0, 0, 4, 10),
(14009, 4, 'BWL Overseer pack Variant 2', 0, 0, 4, 10),
(14010, 4, 'BWL Overseer pack Variant 3', 0, 0, 4, 10),
(14011, 4, 'BWL Overseer pack Variant 4', 0, 0, 4, 10);
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
(14008, 14007, 25, 'BWL Overseer pack Variant 1', 0),
(14009, 14007, 25, 'BWL Overseer pack Variant 2', 0),
(14010, 14007, 25, 'BWL Overseer pack Variant 3', 0),
(14011, 14007, 25, 'BWL Overseer pack Variant 4', 0);
-- BWL Overseer pack Variant 1
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
(84592, 14008, 100, 'BWL Overseer pack v1 Death Talon Wyrmguard', 0, 4, 10),
(84591, 14008, 100, 'BWL Overseer pack v1 Death Talon Overseer', 0, 4, 10),
(84590, 14008, 100, 'BWL Overseer pack v1 Death Talon Overseer', 0, 4, 10),
(84589, 14008, 100, 'BWL Overseer pack v1 Death Talon Overseer', 0, 4, 10);
-- BWL Overseer pack Variant 2
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
(166514, 14009, 100, 'BWL Overseer pack v2 Death Talon Overseer', 0, 4, 10),
(166515, 14009, 100, 'BWL Overseer pack v2 Death Talon Wyrmguard', 0, 4, 10),
(166516, 14009, 100, 'BWL Overseer pack v2 Death Talon Overseer', 0, 4, 10),
(166517, 14009, 100, 'BWL Overseer pack v2 Death Talon Overseer', 0, 4, 10);
-- BWL Overseer pack Variant 3
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
(166518, 14010, 100, 'BWL Overseer pack v3 Death Talon Overseer', 0, 4, 10),
(166519, 14010, 100, 'BWL Overseer pack v3 Death Talon Overseer', 0, 4, 10),
(166520, 14010, 100, 'BWL Overseer pack v3 Death Talon Wyrmguard', 0, 4, 10),
(166521, 14010, 100, 'BWL Overseer pack v3 Death Talon Overseer', 0, 4, 10);
-- BWL Overseer pack Variant 4
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
(166522, 14011, 100, 'BWL Overseer pack v4 Death Talon Overseer', 0, 4, 10),
(166523, 14011, 100, 'BWL Overseer pack v4 Death Talon Overseer', 0, 4, 10),
(166524, 14011, 100, 'BWL Overseer pack v4 Death Talon Overseer', 0, 4, 10),
(166525, 14011, 100, 'BWL Overseer pack v4 Death Talon Wyrmguard', 0, 4, 10);
-- Add groups
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
-- BWL Overseer pack Variant 1
(84592, 84592, 0, 0, 46),
-- BWL Overseer pack Variant 2
(166515, 166514, 0, 0, 46),
(166515, 166515, 0, 0, 46),
(166515, 166516, 0, 0, 46),
(166515, 166517, 0, 0, 46),
-- BWL Overseer pack Variant 3
(166520, 166518, 0, 0, 46),
(166520, 166519, 0, 0, 46),
(166520, 166520, 0, 0, 46),
(166520, 166521, 0, 0, 46),
-- BWL Overseer pack Variant 4
(166525, 166522, 0, 0, 46),
(166525, 166523, 0, 0, 46),
(166525, 166524, 0, 0, 46),
(166525, 166525, 0, 0, 46);
-- Correct position for BWL Overseer pack Variant 1
UPDATE `creature` SET `id`=12460, `position_x`=-7461.63, `position_y`=-985.513, `position_z`=449.782, `orientation`=4.13643 WHERE `guid`=84592;
UPDATE `creature` SET `id`=12461, `position_x`=-7467.69, `position_y`=-995.597, `position_z`=449.325, `orientation`=0.453786 WHERE `guid`=84591;
UPDATE `creature` SET `id`=12461, `position_x`=-7459.26, `position_y`=-995.384, `position_z`=449.785, `orientation`=2.3911 WHERE `guid`=84590;
UPDATE `creature` SET `id`=12461, `position_x`=-7471.39, `position_y`=-988.327, `position_z`=449.844, `orientation`=5.53269 WHERE `guid`=84589;
-- Spawn BWL Overseer pack Variant 2
INSERT INTO `creature` (`guid`, `id`, `id2`, `id3`, `id4`, `id5`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecsmin`, `spawntimesecsmax`, `wander_distance`, `health_percent`, `mana_percent`, `movement_type`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
(166514, 12461, 0, 0, 0, 0, 469, -7461.63, -985.513, 449.782, 4.13643, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(166515, 12460, 0, 0, 0, 0, 469, -7467.69, -995.597, 449.325, 0.453786, 604800, 604800, 0, 100, 100, 0, 0, 0, 4, 10),
(166516, 12461, 0, 0, 0, 0, 469, -7459.26, -995.384, 449.785, 2.3911, 604800, 604800, 0, 100, 100, 0, 0, 0, 4, 10),
(166517, 12461, 0, 0, 0, 0, 469, -7471.39, -988.327, 449.844, 5.53269, 604800, 604800, 0, 100, 100, 0, 0, 0, 4, 10),
-- Spawn BWL Overseer pack Variant 3
(166518, 12461, 0, 0, 0, 0, 469, -7461.63, -985.513, 449.782, 4.13643, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(166519, 12461, 0, 0, 0, 0, 469, -7467.69, -995.597, 449.325, 0.453786, 604800, 604800, 0, 100, 100, 0, 0, 0, 4, 10),
(166520, 12460, 0, 0, 0, 0, 469, -7459.26, -995.384, 449.785, 2.3911, 604800, 604800, 0, 100, 100, 0, 0, 0, 4, 10),
(166521, 12461, 0, 0, 0, 0, 469, -7471.39, -988.327, 449.844, 5.53269, 604800, 604800, 0, 100, 100, 0, 0, 0, 4, 10),
-- Spawn BWL Overseer pack Variant 4
(166522, 12461, 0, 0, 0, 0, 469, -7461.63, -985.513, 449.782, 4.13643, 604800, 604800, 0, 100, 0, 0, 0, 0, 4, 10),
(166523, 12461, 0, 0, 0, 0, 469, -7467.69, -995.597, 449.325, 0.453786, 604800, 604800, 0, 100, 100, 0, 0, 0, 4, 10),
(166524, 12461, 0, 0, 0, 0, 469, -7459.26, -995.384, 449.785, 2.3911, 604800, 604800, 0, 100, 100, 0, 0, 0, 4, 10),
(166525, 12460, 0, 0, 0, 0, 469, -7471.39, -988.327, 449.844, 5.53269, 604800, 604800, 0, 100, 100, 0, 0, 0, 4, 10);
-- Add random movement to Death Talon Overseer
UPDATE `creature` SET `movement_type`=1, `wander_distance`=2 WHERE `guid`=300980;
UPDATE `creature` SET `movement_type`=1, `wander_distance`=2 WHERE `guid`=300979;
UPDATE `creature` SET `movement_type`=1, `wander_distance`=2 WHERE `guid`=84840;
UPDATE `creature` SET `movement_type`=1, `wander_distance`=2 WHERE `guid`=84625;
DELETE FROM `creature_movement` WHERE `id`=300980;
DELETE FROM `creature_movement` WHERE `id`=300979;
DELETE FROM `creature_movement` WHERE `id`=84840;
DELETE FROM `creature_movement` WHERE `id`=84625;
-- Pathing for Death Talon Overseer Entry: 12461
SET @NPC := 84557;
DELETE FROM `creature_movement` WHERE `id`=@NPC;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7525.787,-1057.792,449.4359,100,0,0,0),
(@NPC,2,-7513.689,-1048.273,449.3443,100,0,0,0),
(@NPC,3,-7502.118,-1040.439,449.3443,100,0,0,0),
(@NPC,4,-7492.288,-1033.455,449.3443,100,0,0,0),
(@NPC,5,-7502.118,-1040.439,449.3443,100,0,0,0),
(@NPC,6,-7513.689,-1048.273,449.3443,100,0,0,0);
-- .go xyz -7525.787 -1057.792 449.4359
-- Correct a few Death Talon Overseer spawns to is_spawn
UPDATE `creature` SET `position_x`=-7528.07, `position_y`=-978.316, `position_z`=449.325, `orientation`=3.1765 WHERE `guid`=84558;
UPDATE `creature` SET `position_x`=-7525.19, `position_y`=-1057.31, `position_z`=449.325, `orientation`=3.68264 WHERE `guid`=84557;
-- Add non is_spawn Death Talon spawns
UPDATE `creature` SET `position_x`=-7411.55, `position_y`=-927.186, `position_z`=465.116, `orientation`=0.730701 WHERE `guid`=300979;
UPDATE `creature` SET `position_x`=-7438.52, `position_y`=-948.758, `position_z`=465.116, `orientation`=6.0701 WHERE `guid`=300980;
UPDATE `creature` SET `position_x`=-7479.67, `position_y`=-882.162, `position_z`=465.195, `orientation`=0.559977 WHERE `guid`=84840;
UPDATE `creature` SET `position_x`=-7517.17, `position_y`=-917.018, `position_z`=457.816, `orientation`=2.70052 WHERE `guid`=84625;
UPDATE `creature` SET `position_x`=-7513.59, `position_y`=-972.264, `position_z`=449.344, `orientation`=5.7424 WHERE `guid`=84558;
-- Add random movement to Death Talon Overseer
UPDATE `creature` SET `movement_type`=1, `wander_distance`=2 WHERE `guid`=84558;
DELETE FROM `creature_movement` WHERE `id` = 84558;
-- Correct Vaelstrasza the Corrupt spawn
UPDATE `creature` SET `position_x`=-7483.79, `position_y`=-1015.99, `position_z`=408.652, `orientation`=4.69494 WHERE `guid`=84512;
-- Delete unused Flamegor waypoints
DELETE FROM `creature_movement` WHERE `id` = 85783;
-- Increase wander_distance and correct position
UPDATE `creature` SET `wander_distance`=10, `movement_type`=1, `position_x`=-7410.04, `position_y`=-1022.99, `position_z`=477.316 WHERE `guid`=85783;
-- Pathing for Firemaw Entry: 11983
SET @NPC := 84572;
UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-7418.686,`position_y`=-947.7281,`position_z`=465.1164 WHERE `guid`=@NPC;
DELETE FROM `creature_movement` WHERE `id`=@NPC;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7418.686,-947.7281,465.1164,100,0,0,0),
(@NPC,2,-7443.952,-908.1151,465.5164,100,0,0,0),
(@NPC,3,-7458.049,-889.7999,465.2356,100,0,0,0),
(@NPC,4,-7481.373,-906.5868,465.3443,100,0,0,0),
(@NPC,5,-7507.165,-922.4193,457.8001,100,0,0,0),
(@NPC,6,-7495.893,-939.4832,457.868,100,0,0,0),
(@NPC,7,-7475.219,-969.2783,449.9444,100,0,0,0),
(@NPC,8,-7483.981,-998.0866,449.1505,100,0,0,0),
(@NPC,9,-7513.288,-1020.492,448.9443,100,0,0,0),
(@NPC,10,-7483.981,-998.0866,449.1505,100,0,0,0),
(@NPC,11,-7475.219,-969.2783,449.9444,100,0,0,0),
(@NPC,12,-7495.893,-939.4832,457.868,100,0,0,0),
(@NPC,13,-7507.165,-922.4193,457.8001,100,0,0,0),
(@NPC,14,-7481.427,-906.6204,465.3401,100,0,0,0),
(@NPC,15,-7458.049,-889.7999,465.2356,100,0,0,0),
(@NPC,16,-7443.954,-908.1125,465.5262,100,0,0,0);
-- .go xyz -7418.686 -947.7281 465.1164
-- Pathing for Ebonroc Entry: 14601
SET @NPC := 85780;
UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-7379.935,`position_y`=-986.8793,`position_z`=477.2699 WHERE `guid`=@NPC;
DELETE FROM `creature_movement` WHERE `id`=@NPC;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7379.935,-986.8793,477.2699,100,0,0,0),
(@NPC,2,-7393.988,-985.862,476.4621,100,0,0,0),
(@NPC,3,-7401.676,-986.5212,474.8598,100,0,0,0),
(@NPC,4,-7409.366,-979.5364,471.7546,100,0,0,0),
(@NPC,5,-7414.185,-963.1608,466.6956,100,75000,0,0),
(@NPC,6,-7407.271,-982.9959,473.0944,100,0,0,0),
(@NPC,7,-7391.241,-986.5496,476.8959,100,0,0,0),
(@NPC,8,-7369.535,-990.9822,477.3164,100,0,0,0),
(@NPC,9,-7361.027,-1005.739,477.3164,100,300000,10,0);
-- .go xyz -7379.935 -986.8793 477.2699
-- Correct Nefarian position on throne
UPDATE `creature` SET `position_x`=-7588.27, `position_y`=-1261.92, `position_z`=482.03, `orientation`=0.610865 WHERE `guid`=85785;
-- Correct a few Blackwing Warlock positions to is_spawn
UPDATE `creature` SET `position_x`=-7537.21, `position_y`=-979.737, `position_z`=449.325, `orientation`=4.93928 WHERE `guid`=84560;
UPDATE `creature` SET `position_x`=-7506.19, `position_y`=-907.816, `position_z`=457.659, `orientation`=0 WHERE `guid`=84599;
UPDATE `creature` SET `position_x`=-7517.04, `position_y`=-1053.56, `position_z`=449.325, `orientation`=0.610865 WHERE `guid`=84546;
UPDATE `creature` SET `position_x`=-7494.31, `position_y`=-1038.75, `position_z`=449.325, `orientation`=0.174533 WHERE `guid`=84553;
-- Correct Tortured Drake to sniff position
UPDATE `creature` SET `position_x`=-7393.3, `position_y`=-1070.78, `position_z`=479.793, `orientation`=3.22886 WHERE `guid`=85782;
UPDATE `creature` SET `position_x`=-7344.76, `position_y`=-958.086, `position_z`=481.685, `orientation`=5.81195 WHERE `guid`=85781;
-- Correct a few Blackwing Spellbinder to is_spawn
UPDATE `creature` SET `position_x`=-7532.9, `position_y`=-987.752, `position_z`=449.325, `orientation`=4.18879 WHERE `guid`=300976;
UPDATE `creature` SET `position_x`=-7500.31, `position_y`=-1040.29, `position_z`=449.325, `orientation`=5.51524 WHERE `guid`=84548;
-- Pathing for Blackwing Spellbinder 1 Entry: 12457
SET @NPC := 84548;
DELETE FROM `creature_movement` WHERE `id`=@NPC;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7501.277,-1041.742,449.3443,100,0,0,0),
(@NPC,2,-7501.277,-1041.742,449.3443,5.993802,10000,0,401),
(@NPC,3,-7507.16,-1043.916,449.5181,100,0,0,0),
(@NPC,4,-7510.861,-1046.872,449.3443,100,0,0,0),
(@NPC,5,-7510.861,-1046.872,449.3443,5.585053,10000,0,0),
(@NPC,6,-7516.605,-1053.543,449.4236,100,0,0,0),
(@NPC,7,-7523.248,-1057.992,449.4788,100,0,0,0),
(@NPC,8,-7523.248,-1057.992,449.4788,5.532694,10000,0,0),
(@NPC,9,-7515.547,-1053.075,449.4097,100,0,0,0),
(@NPC,10,-7511.363,-1047.529,449.3443,100,0,0,0),
(@NPC,11,-7503.514,-1041.075,449.3443,100,0,0,0);
-- .go xyz -7501.277 -1041.742 449.3443
-- Pathing for Blackwing Spellbinder 2 Entry: 12457
SET @NPC := 300976;
DELETE FROM `creature_movement` WHERE `id`=@NPC;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7532.997,-987.6007,449.3443,100,0,0,0),
(@NPC,2,-7532.997,-987.6007,449.3443,3.787364,10000,0,0),
(@NPC,3,-7540.299,-980.2476,449.3443,100,10000,0,0),
(@NPC,4,-7530.71,-972.1113,449.3443,100,0,0,0),
(@NPC,5,-7530.71,-972.1113,449.3443,1.745329,10000,0,0),
(@NPC,6,-7523.731,-967.9217,449.3443,100,0,0,0),
(@NPC,7,-7517.32,-964.3229,449.3443,100,0,0,0),
(@NPC,8,-7517.03,-961.1636,449.3443,100,10000,0,0),
(@NPC,9,-7523.604,-969.132,449.3443,100,0,0,0),
(@NPC,10,-7533.491,-975.2642,449.3443,100,0,0,0),
(@NPC,11,-7540.069,-980.1868,449.3443,100,0,0,0);
-- .go xyz -7532.997 -987.6007 449.3443
-- Pathing for Blackwing Spellbinder 3 Entry: 12457
SET @NPC := 300977;
UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-7516.476,`position_y`=-933.2656,`position_z`=457.75 WHERE `guid`=@NPC;
DELETE FROM `creature_movement` WHERE `id`=@NPC;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7516.476,-933.2656,457.75,100,0,0,0),
(@NPC,2,-7516.476,-933.2656,457.75,4.871662,10000,0,401),
(@NPC,3,-7524.602,-921.5275,457.7443,100,10000,0,0),
(@NPC,4,-7510.053,-907.9124,457.7587,100,10000,0,0),
(@NPC,5,-7518.313,-921.8302,457.7728,100,0,0,0);
-- .go xyz -7516.476 -933.2656 457.75
-- Pathing for Blackwing Spellbinder 4 Entry: 12457
SET @NPC := 300978;
UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-7490.722,`position_y`=-880.0219,`position_z`=465.1443 WHERE `guid`=@NPC;
DELETE FROM `creature_movement` WHERE `id`=@NPC;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7490.722,-880.0219,465.1443,100,0,0,0),
(@NPC,2,-7490.722,-880.0219,465.1443,5.323254,10000,0,401),
(@NPC,3,-7482.279,-876.7031,465.1545,100,0,0,0),
(@NPC,4,-7472.208,-877.7877,465.2098,100,0,0,0),
(@NPC,5,-7461.31,-872.2733,465.1374,100,0,0,0),
(@NPC,6,-7459.162,-864.8195,465.1164,100,0,0,0),
(@NPC,7,-7455.789,-859.2108,465.1164,100,0,0,0),
(@NPC,8,-7455.789,-859.2108,465.1164,1.029389,10000,0,401),
(@NPC,9,-7462.63,-872.0884,465.1334,100,0,0,0),
(@NPC,10,-7470.213,-875.4577,465.208,100,0,0,0),
(@NPC,11,-7476.596,-869.5565,465.1443,100,0,0,0),
(@NPC,12,-7473.746,-867.2704,465.1443,100,10000,0,0);
-- .go xyz -7490.722 -880.0219 465.1443
-- Pathing for Blackwing Spellbinder 5 Entry: 12457
SET @NPC := 85621;
UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-7398.171,`position_y`=-929.0558,`position_z`=465.1164 WHERE `guid`=@NPC;
DELETE FROM `creature_movement` WHERE `id`=@NPC;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7398.171,-929.0558,465.1164,100,0,0,0),
(@NPC,2,-7398.171,-929.0558,465.1164,0.2365287,10000,0,401),
(@NPC,3,-7405.783,-931.1773,465.1164,100,0,0,0),
(@NPC,4,-7416.46,-913.8626,465.1164,100,0,0,0),
(@NPC,5,-7420.276,-906.5897,465.1164,100,0,0,0),
(@NPC,6,-7413.217,-899.9672,465.1164,100,0,0,0),
(@NPC,7,-7413.217,-899.9672,465.1164,0.753525,10000,0,401),
(@NPC,8,-7419.419,-907.103,465.1164,100,0,0,0),
(@NPC,9,-7411.317,-920.9146,465.1164,100,0,0,0),
(@NPC,10,-7407.451,-918.803,465.1164,100,0,0,0),
(@NPC,11,-7407.451,-918.803,465.1164,0.4998376,10000,0,401),
(@NPC,12,-7405.916,-926.7454,465.1164,100,0,0,0),
(@NPC,13,-7403.022,-930.2253,465.1164,100,0,0,0);
-- .go xyz -7398.171 -929.0558 465.1164
-- Pathing for Blackwing Spellbinder Entry: 12457
SET @NPC := 85758;
UPDATE `creature` SET `wander_distance`=0,`movement_type`=2,`position_x`=-7454.273,`position_y`=-951.7062,`position_z`=465.1164 WHERE `guid`=@NPC;
DELETE FROM `creature_movement` WHERE `id`=@NPC;
INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`waittime`,`wander_distance`,`script_id`) VALUES
(@NPC,1,-7454.273,-951.7062,465.1164,100,0,0,0),
(@NPC,2,-7454.273,-951.7062,465.1164,3.477443,10000,0,401),
(@NPC,3,-7447.08,-945.177,465.1164,100,0,0,0),
(@NPC,4,-7449.199,-935.9932,465.1164,100,0,0,0),
(@NPC,5,-7453.252,-931.2498,465.1164,100,0,0,0),
(@NPC,6,-7463.244,-933.8245,465.1164,100,0,0,0),
(@NPC,7,-7463.244,-933.8245,465.1164,3.393769,10000,0,401),
(@NPC,8,-7456.518,-929.4488,465.1164,100,0,0,0),
(@NPC,9,-7451.187,-934.4731,465.2085,100,0,0,0),
(@NPC,10,-7440.787,-950.2525,465.1164,100,0,0,0),
(@NPC,11,-7437.379,-955.4361,465.1164,100,0,0,0),
(@NPC,12,-7440.375,-962.317,465.1163,100,0,0,0),
(@NPC,13,-7440.375,-962.317,465.1163,4.301776,10000,0,401),
(@NPC,14,-7437.717,-955.0467,465.1164,100,0,0,0),
(@NPC,15,-7443.361,-947.8978,465.1164,100,0,0,0);
-- .go xyz -7454.273 -951.7062 465.1164
-- Correct position of Blackwing Spellbinder to non is_spawn position and set random movement
UPDATE `creature` SET `position_x`=-7411.1, `position_y`=-917.819, `position_z`=465.116, `orientation`=0.281444, `movement_type`=1, `wander_distance`=2 WHERE `guid`=85613;
UPDATE `creature` SET `position_x`=-7448.25, `position_y`=-944.38, `position_z`=465.116, `orientation`=0.84562, `movement_type`=1, `wander_distance`=1.5 WHERE `guid`=85768;
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES
(401, 0, 0, 15, 22313, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Blackwing Spellbinder - Cast Spell Purple Hands'),
(401, 4, 0, 5, 0, 22313, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Blackwing Spellbinder - Cast Spell Purple Hands');
DELETE FROM `creature_ai_scripts` WHERE `id`=12458;
INSERT INTO `creature_ai_scripts` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES
(12458, 0, 0, 15, 22458, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Blackwing Taskmaster Cast Healing Circle');
-- Make Blackwing Taskmaster cast Healing Circle OOC
-- Events list for Blackwing Taskmaster
DELETE FROM `creature_ai_events` WHERE `creature_id`=12458;
INSERT INTO `creature_ai_events` (`id`, `creature_id`, `condition_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action1_script`, `action2_script`, `action3_script`, `comment`) VALUES
(1245802, 12458, 0, 1, 0, 100, 1, 15000, 35000, 15000, 35000, 12458, 0, 0, 'Blackwing Taskmaster Healing Circle OOC');
UPDATE `creature_template` SET `ai_name`='EventAI' WHERE `entry`=12458;
-- Delete Vaelastrasz Blackwing Technician packs
DELETE FROM `creature_groups` WHERE `leader_guid`=300738;
-- 1st pack
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
(59768, 59768, 0, 0, 46),
(59768, 59767, 0, 0, 46),
(59768, 59770, 0, 0, 46),
-- 2nd pack
(59771, 59771, 0, 0, 46),
(59771, 59769, 0, 0, 46),
(59771, 59766, 0, 0, 46);
-- Entrance lab pack right
DELETE FROM `creature_groups` WHERE `leader_guid`=300985;
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
(84542, 84542, 0, 0, 46),
(84542, 59719, 0, 0, 46),
(84542, 59730, 0, 0, 46),
(84542, 59724, 0, 0, 46),
-- Entrance lab pack left
(84542, 59722, 0, 0, 46),
(84542, 59728, 0, 0, 46),
(84542, 59726, 0, 0, 46),
(84542, 84541, 0, 0, 46);
-- Right pack lab
DELETE FROM `creature_groups` WHERE `leader_guid`=84557;
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
(84557, 59717, 0, 0, 46),
(84557, 59725, 0, 0, 46),
(84557, 59731, 0, 0, 46),
(84557, 84546, 0, 0, 46),
(84557, 59720, 0, 0, 46),
(84557, 59727, 0, 0, 46),
(84557, 59723, 0, 0, 46),
(84557, 59729, 0, 0, 46),
(84557, 59718, 0, 0, 46),
(84557, 59734, 0, 0, 46),
(84557, 84553, 0, 0, 46),
(84557, 59737, 0, 0, 46),
(84557, 84557, 0, 0, 46),
(84557, 84548, 0, 0, 46);
-- Left pack lab
DELETE FROM `creature_groups` WHERE `leader_guid`=84558;
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
(84558, 59732, 0, 0, 46),
(84558, 59721, 0, 0, 46),
(84558, 59738, 0, 0, 46),
(84558, 59733, 0, 0, 46),
(84558, 84560, 0, 0, 46),
(84558, 59736, 0, 0, 46),
(84558, 59735, 0, 0, 46),
(84558, 59740, 0, 0, 46),
(84558, 59749, 0, 0, 46),
(84558, 59745, 0, 0, 46),
(84558, 59744, 0, 0, 46),
(84558, 84561, 0, 0, 46),
(84558, 84558, 0, 0, 46),
(84558, 300976, 0, 0, 46);
-- Stairs pack lab
DELETE FROM `creature_groups` WHERE `leader_guid`=84625;
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
(84625, 59742, 0, 0, 46),
(84625, 59747, 0, 0, 46),
(84625, 59741, 0, 0, 46),
(84625, 59746, 0, 0, 46),
(84625, 59743, 0, 0, 46),
(84625, 59748, 0, 0, 46),
(84625, 59739, 0, 0, 46),
(84625, 59750, 0, 0, 46),
(84625, 84598, 0, 0, 46),
(84625, 59757, 0, 0, 46),
(84625, 59758, 0, 0, 46),
(84625, 84599, 0, 0, 46),
(84625, 84625, 0, 0, 46),
(84625, 300977, 0, 0, 46);
-- 2nd floor left lab pack
DELETE FROM `creature_groups` WHERE `leader_guid`=84840;
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
(84840, 59762, 0, 0, 46),
(84840, 59716, 0, 0, 46),
(84840, 59763, 0, 0, 46),
(84840, 84653, 0, 0, 46),
(84840, 84840, 0, 0, 46),
(84840, 59764, 0, 0, 46),
(84840, 59765, 0, 0, 46),
(84840, 59777, 0, 0, 46),
(84840, 59781, 0, 0, 46),
(84840, 59785, 0, 0, 46),
(84840, 59784, 0, 0, 46),
(84840, 59772, 0, 0, 46),
(84840, 84652, 0, 0, 46),
(84840, 300978, 0, 0, 46);
-- 2nd floor right 1st lab pack
DELETE FROM `creature_groups` WHERE `leader_guid`=300980;
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
(300980, 59715, 0, 0, 46),
(300980, 59751, 0, 0, 46),
(300980, 59753, 0, 0, 46),
(300980, 85757, 0, 0, 46),
(300980, 59755, 0, 0, 46),
(300980, 59754, 0, 0, 46),
(300980, 59752, 0, 0, 46),
(300980, 59756, 0, 0, 46),
(300980, 85768, 0, 0, 46),
(300980, 300980, 0, 0, 46),
(300980, 85775, 0, 0, 46),
(300980, 59760, 0, 0, 46),
(300980, 59761, 0, 0, 46),
(300980, 59759, 0, 0, 46),
(300980, 85758, 0, 0, 46);
-- 2nd floor right 2nd lab pack
DELETE FROM `creature_groups` WHERE `leader_guid`=300979;
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
(300979, 59778, 0, 0, 46),
(300979, 59786, 0, 0, 46),
(300979, 59783, 0, 0, 46),
(300979, 85581, 0, 0, 46),
(300979, 59775, 0, 0, 46),
(300979, 59779, 0, 0, 46),
(300979, 85613, 0, 0, 46),
(300979, 59776, 0, 0, 46),
(300979, 59782, 0, 0, 46),
(300979, 300979, 0, 0, 46),
(300979, 59780, 0, 0, 46),
(300979, 59773, 0, 0, 46),
(300979, 59774, 0, 0, 46),
(300979, 85601, 0, 0, 46),
(300979, 85621, 0, 0, 46);
-- Correct grouping for Death Talon Wyrmguard in lab
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
(84628, 84628, 0, 0, 46),
(84628, 84627, 0, 0, 46);
-- Pooling for a few Blackwing Technician spawns
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
(59744, 14012, 0, 'BWL Blackwing Technician', 0, 4, 10),
(59716, 14012, 0, 'BWL Blackwing Technician', 0, 4, 10),
(59753, 14012, 0, 'BWL Blackwing Technician', 0, 4, 10);
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
(14012, 1, 'BWL Blackwing Technician', 0, 0, 4, 10);
-- End of migration.
END IF;
END??
delimiter ;
CALL add_migration();
DROP PROCEDURE IF EXISTS add_migration;