331 lines
18 KiB
SQL
331 lines
18 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`='20201120191618');
|
|
IF v=0 THEN
|
|
INSERT INTO `migrations` VALUES ('20201120191618');
|
|
-- Add your query below.
|
|
|
|
-- Ashenvale
|
|
-- allow Lilyn Darkriver to roam
|
|
UPDATE `creature` SET `movement_type` = 1, `wander_distance` = 8 WHERE `guid` = 33281;
|
|
|
|
-- Warsong Scout waypoints
|
|
UPDATE `creature` SET `movement_type` = 2 WHERE `guid` = 32382;
|
|
INSERT INTO `creature_movement_template` (`entry`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `waittime`, `wander_distance`, `script_id`) VALUES
|
|
(12862, 1, 2045.41, -2396.98, 87.8166, 3.42506, 600000, 0, 0),
|
|
(12862, 2, 2054.7, -2398.71, 87.7415, 100, 0, 0, 0),
|
|
(12862, 3, 2061.93, -2387.26, 93.3051, 100, 0, 0, 0),
|
|
(12862, 4, 2054.02, -2383.7, 97.0729, 100, 0, 0, 0),
|
|
(12862, 5, 2051.62, -2389.87, 100.014, 100, 0, 0, 0),
|
|
(12862, 6, 2056.8, -2392.18, 102.376, 100, 0, 0, 0),
|
|
(12862, 7, 2060.52, -2384.67, 104.944, 100, 0, 0, 0),
|
|
(12862, 8, 2046.16, -2382.26, 104.939, 100, 0, 0, 0),
|
|
(12862, 9, 2044.83, -2387.61, 108.127, 100, 0, 0, 0),
|
|
(12862, 10, 2047.71, -2395.56, 111.446, 100, 0, 0, 0),
|
|
(12862, 11, 2050.61, -2396.94, 111.447, 4.31096, 600000, 0, 0),
|
|
(12862, 12, 2047.71, -2395.56, 111.445, 100, 0, 0, 0),
|
|
(12862, 13, 2044.33, -2386.2, 107.281, 100, 0, 0, 0),
|
|
(12862, 14, 2044.68, -2383.57, 105.934, 100, 0, 0, 0),
|
|
(12862, 15, 2051.15, -2382.46, 104.94, 100, 0, 0, 0),
|
|
(12862, 16, 2058.27, -2384.16, 104.944, 100, 0, 0, 0),
|
|
(12862, 17, 2058.41, -2390.23, 103.092, 100, 0, 0, 0),
|
|
(12862, 18, 2052.05, -2390.34, 100.238, 100, 0, 0, 0),
|
|
(12862, 19, 2054.21, -2384.26, 97.1803, 100, 0, 0, 0),
|
|
(12862, 20, 2061.69, -2386.99, 93.3384, 100, 0, 0, 0),
|
|
(12862, 21, 2058.78, -2393.01, 89.9043, 100, 0, 0, 0);
|
|
|
|
-- Splintertree Guard waypoints
|
|
UPDATE `creature` SET `movement_type` = 2 WHERE `guid` = 32615;
|
|
INSERT INTO `creature_movement` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `waittime`, `wander_distance`, `script_id`) VALUES
|
|
(32615, 1, 3380.21, 1015.3, 3.02534, 100, 0, 0, 0),
|
|
(32615, 2, 3382.41, 1003.55, 4.43143, 100, 0, 0, 0),
|
|
(32615, 3, 3382.22, 982.185, 5.34529, 100, 0, 0, 0),
|
|
(32615, 4, 3370.88, 980.417, 5.45525, 100, 0, 0, 0),
|
|
(32615, 5, 3357.04, 983.128, 5.76716, 100, 0, 0, 0),
|
|
(32615, 6, 3329.94, 982.515, 4.02169, 100, 0, 0, 0),
|
|
(32615, 7, 3320.08, 987.689, 3.38976, 100, 0, 0, 0),
|
|
(32615, 8, 3314.68, 1008.12, 3.95719, 100, 0, 0, 0),
|
|
(32615, 9, 3317.1, 1020.8, 4.28805, 100, 0, 0, 0),
|
|
(32615, 10, 3325.82, 1037.3, 1.71897, 100, 0, 0, 0),
|
|
(32615, 11, 3340.71, 1045.29, 1.56625, 100, 0, 0, 0),
|
|
(32615, 12, 3362.11, 1036.96, 1.94614, 100, 0, 0, 0),
|
|
(32615, 13, 3373.41, 1029.37, 2.36159, 100, 0, 0, 0);
|
|
|
|
-- Bough Shadow creatures should be grouped and wander
|
|
UPDATE `creature` SET `movement_type` = 1, `wander_distance` = 12 WHERE `guid` = 33240;
|
|
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
|
|
(33240, 33208, 4, 3, 11),
|
|
(33240, 33209, 4, 17, 11);
|
|
|
|
UPDATE `creature` SET `position_x` = 3147.93, `position_y` = -3464.64, `position_z` = 138.996, `movement_type` = 1, `wander_distance` = 12 WHERE `guid` = 33241;
|
|
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
|
|
(33241, 33210, 4, 3, 11),
|
|
(33241, 33226, 4, 17, 11);
|
|
|
|
UPDATE `creature` SET `movement_type` = 1, `wander_distance` = 12 WHERE `guid` = 33242;
|
|
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
|
|
(33242, 33227, 4, 3, 11),
|
|
(33242, 33211, 4, 17, 11);
|
|
|
|
UPDATE `creature` SET `movement_type` = 1, `wander_distance` = 12 WHERE `guid` = 33243;
|
|
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
|
|
(33243, 33228, 4, 3, 11),
|
|
(33243, 33229, 4, 17, 11);
|
|
|
|
UPDATE `creature` SET `movement_type` = 1, `wander_distance` = 12 WHERE `guid` = 33244;
|
|
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
|
|
(33244, 33213, 4, 3, 11),
|
|
(33244, 33212, 4, 17, 11);
|
|
|
|
UPDATE `creature` SET `movement_type` = 1, `wander_distance` = 12 WHERE `guid` = 33245;
|
|
INSERT INTO `creature_groups` (`leader_guid`, `member_guid`, `dist`, `angle`, `flags`) VALUES
|
|
(33245, 33231, 4, 3, 11),
|
|
(33245, 33230, 4, 17, 11);
|
|
|
|
-- Thunder Bluff
|
|
-- Rahauro waypoints
|
|
UPDATE `creature` SET `movement_type` = 2 WHERE `guid` = 24728;
|
|
INSERT INTO `creature_movement_template` (`entry`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `waittime`, `wander_distance`, `script_id`) VALUES
|
|
(11833 , 1 , -1055.44 , -215.423 , 159.03 , 5.41052 , 180000 , 0 , 0),
|
|
(11833 , 2 , -1054.79 , -217.982 , 159.03 , 100 , 0 , 0 , 0),
|
|
(11833 , 3 , -1054.95 , -221.312 , 159.03 , 100 , 0 , 0 , 0),
|
|
(11833 , 4 , -1056.49 , -224.361 , 159.03 , 100 , 0 , 0 , 0),
|
|
(11833 , 5 , -1060.74 , -226.378 , 159.031 , 100 , 0 , 0 , 0),
|
|
(11833 , 6 , -1063.79 , -226.545 , 159.03 , 100 , 0 , 0 , 0),
|
|
(11833 , 7 , -1066.76 , -226.311 , 159.031 , 100 , 0 , 0 , 0),
|
|
(11833 , 8 , -1069.25 , -224.834 , 159.031 , 100 , 0 , 0 , 0),
|
|
(11833 , 9 , -1071.37 , -219.163 , 159.03 , 4.46804 , 180000 , 0 , 0),
|
|
(11833 , 10 , -1069.25 , -224.834 , 159.031 , 100 , 0 , 0 , 0),
|
|
(11833 , 11 , -1066.76 , -226.311 , 159.031 , 100 , 0 , 0 , 0),
|
|
(11833 , 12 , -1063.79 , -226.545 , 159.03 , 100 , 0 , 0 , 0),
|
|
(11833 , 13 , -1060.74 , -226.378 , 159.031 , 100 , 0 , 0 , 0),
|
|
(11833 , 14 , -1056.49 , -224.361 , 159.03 , 100 , 0 , 0 , 0),
|
|
(11833 , 15 , -1054.95 , -221.312 , 159.03 , 100 , 0 , 0 , 0),
|
|
(11833 , 16 , -1054.79 , -217.982 , 159.03 , 100 , 0 , 0 , 0);
|
|
|
|
-- Moonglade
|
|
-- add missing Moonglade Warden
|
|
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
|
|
(81, 11822, 0, 0, 0, 1, 7546.30, -3034.33, 463.46, 1.11689, 300, 300, 0, 100, 100, 0, 0, 0, 0, 10),
|
|
(116, 11822, 0, 0, 0, 1, 7537.79, -3029.95, 463.46, 1.10166, 300, 300, 0, 100, 100, 0, 0, 0, 0, 10);
|
|
|
|
-- allow Bessany Plainswind to roam
|
|
UPDATE `creature` SET `position_x` = 8005.35, `position_y` = -2496.49, `position_z` = 492.126, `movement_type` = 1, `wander_distance` = 10 WHERE `guid` = 42330;
|
|
|
|
-- Umber waypoints and script
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `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 (1193901, 0, 39, 1193901, 1193902, 0, 0, 0, 0, 0, 4, 50, 50, 0, 0, 0, 0, 0, 0, 0, 'Umber - Start Script');
|
|
INSERT INTO `generic_scripts` (`id`, `delay`, `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 (1193901, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 8559, 8560, 8561, 8562, 0, 0, 0, 0, 0, 'Umber - Talk');
|
|
INSERT INTO `generic_scripts` (`id`, `delay`, `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 (1193902, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 8563, 8562, 8561, 8560, 0, 0, 0, 0, 0, 'Umber - Talk');
|
|
UPDATE `creature` SET `movement_type` = 2 WHERE `id` = 11939;
|
|
INSERT INTO `creature_movement_template` (`entry`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `waittime`, `wander_distance`, `script_id`) VALUES
|
|
(11939, 1, 7943.56, -2417.24, 494.055, 100, 2000, 0, 1193901),
|
|
(11939, 2, 7933.73, -2410.85, 494.053, 100, 0, 0, 0),
|
|
(11939, 3, 7927.39, -2411.77, 493.983, 100, 0, 0, 0),
|
|
(11939, 4, 7905.3, -2414.25, 494.573, 100, 0, 0, 0),
|
|
(11939, 5, 7888.99, -2418.21, 495.092, 100, 0, 0, 0),
|
|
(11939, 6, 7884.62, -2422.25, 495.761, 100, 0, 0, 0),
|
|
(11939, 7, 7878.64, -2430.44, 494.792, 100, 0, 0, 0),
|
|
(11939, 8, 7879.15, -2444.55, 494.631, 100, 0, 0, 0),
|
|
(11939, 9, 7880.97, -2459.02, 495.175, 100, 0, 0, 0),
|
|
(11939, 10, 7883.68, -2474.02, 494.396, 100, 0, 0, 0),
|
|
(11939, 11, 7880.8, -2483.08, 494.389, 3.26377, 540000, 0, 0),
|
|
(11939, 12, 7880.8, -2483.08, 494.389, 100, 2000, 0, 1193901),
|
|
(11939, 13, 7884.53, -2475.5, 494.396, 100, 0, 0, 0),
|
|
(11939, 14, 7886.79, -2463.05, 494.703, 100, 0, 0, 0),
|
|
(11939, 15, 7884.28, -2434.58, 494.112, 100, 0, 0, 0),
|
|
(11939, 16, 7887.25, -2426.33, 494.806, 100, 0, 0, 0),
|
|
(11939, 17, 7897.72, -2421.08, 494.079, 100, 0, 0, 0),
|
|
(11939, 18, 7909.3, -2418.55, 494.923, 100, 0, 0, 0),
|
|
(11939, 19, 7925.07, -2416.59, 494.277, 100, 0, 0, 0),
|
|
(11939, 20, 7927.98, -2413.71, 493.988, 100, 0, 0, 0),
|
|
(11939, 21, 7943.56, -2417.24, 494.055, 4.85202, 540000, 0, 0);
|
|
|
|
-- add waypoints to Moonglade Warden
|
|
UPDATE `creature` SET `position_x` = 7832.69, `position_y` = -2195.04, `position_z` = 469.047, `movement_type` = 2 WHERE `guid` = 42417;
|
|
INSERT INTO `creature_movement` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `waittime`, `wander_distance`, `script_id`) VALUES
|
|
(42417, 1, 7832.69, -2195.04, 469.047, 100, 0, 0, 0),
|
|
(42417, 2, 7830.04, -2209.28, 466.542, 100, 0, 0, 0),
|
|
(42417, 3, 7833.74, -2225.74, 466.272, 100, 0, 0, 0),
|
|
(42417, 4, 7831, -2217.33, 466.165, 100, 0, 0, 0),
|
|
(42417, 5, 7831.21, -2197.73, 468.354, 100, 0, 0, 0),
|
|
(42417, 6, 7837.97, -2185.45, 473.512, 100, 0, 0, 0),
|
|
(42417, 7, 7849.74, -2171.41, 479.488, 100, 0, 0, 0),
|
|
(42417, 8, 7863.98, -2176.12, 478.251, 100, 0, 0, 0),
|
|
(42417, 9, 7877.36, -2184.23, 478.795, 100, 0, 0, 0),
|
|
(42417, 10, 7887.08, -2195.41, 480.428, 100, 0, 0, 0),
|
|
(42417, 11, 7890.73, -2207.56, 477.363, 100, 0, 0, 0),
|
|
(42417, 12, 7882.41, -2221.23, 471.854, 100, 0, 0, 0),
|
|
(42417, 13, 7878.59, -2225.79, 471.396, 100, 0, 0, 0),
|
|
(42417, 14, 7872.7, -2232.2, 470.014, 100, 0, 0, 0),
|
|
(42417, 15, 7864.52, -2234.94, 466.034, 100, 0, 0, 0),
|
|
(42417, 16, 7845.67, -2234.04, 465.905, 100, 0, 0, 0),
|
|
(42417, 17, 7864.52, -2234.94, 466.034, 100, 0, 0, 0),
|
|
(42417, 18, 7872.7, -2232.2, 470.014, 100, 0, 0, 0),
|
|
(42417, 19, 7878.59, -2225.79, 471.396, 100, 0, 0, 0),
|
|
(42417, 20, 7882.41, -2221.23, 471.854, 100, 0, 0, 0),
|
|
(42417, 21, 7887.08, -2195.41, 480.428, 100, 0, 0, 0),
|
|
(42417, 22, 7877.36, -2184.23, 478.795, 100, 0, 0, 0),
|
|
(42417, 23, 7863.98, -2176.12, 478.251, 100, 0, 0, 0),
|
|
(42417, 24, 7849.74, -2171.41, 479.488, 100, 0, 0, 0),
|
|
(42417, 25, 7837.97, -2185.45, 473.512, 100, 0, 0, 0);
|
|
|
|
-- Winterspring
|
|
-- allow Everlook Bruiser to roam
|
|
UPDATE `creature` SET `movement_type` = 1, `wander_distance` = 2 WHERE `guid` IN (42281, 42288, 42290, 42285, 42286, 42287, 42291, 42280);
|
|
UPDATE `creature` SET `movement_type` = 1, `wander_distance` = 0.5 WHERE `guid` = 42284;
|
|
|
|
-- remove incorrect Everlook Bruiser
|
|
DELETE FROM `creature` WHERE `guid` IN (60010, 60009, 60011, 60008);
|
|
DELETE FROM `creature_movement` WHERE `id` = 60011;
|
|
|
|
-- allow Umaron Stragarelm to roam
|
|
UPDATE `creature` SET `position_x` = 6723.87, `position_y` = -4708.75, `position_z` = 722.038, `movement_type` = 1, `wander_distance` = 3 WHERE `guid` = 42314;
|
|
|
|
-- Felwood
|
|
-- allow Greta Mosshoof to roam
|
|
UPDATE `creature` SET `movement_type` = 1, `wander_distance` = 5 WHERE `guid` = 39100;
|
|
|
|
-- allow Shialune to roam
|
|
UPDATE `creature` SET `movement_type` = 1, `wander_distance` = 3 WHERE `guid` = 39663;
|
|
|
|
-- Withered Protector wayponts
|
|
UPDATE `creature` SET `movement_type` = 2 WHERE `guid` = 39489;
|
|
INSERT INTO `creature_movement_template` (`entry`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `waittime`, `wander_distance`, `script_id`) VALUES
|
|
(7149, 1, 6272.21, -1118.91, 371.735, 100, 0, 0, 0),
|
|
(7149, 2, 6261.12, -1095.53, 372.401, 100, 0, 0, 0),
|
|
(7149, 3, 6245.77, -1076.43, 374.502, 100, 0, 0, 0),
|
|
(7149, 4, 6222.05, -1056.34, 382.221, 100, 0, 0, 0),
|
|
(7149, 5, 6202.97, -1050.72, 384.939, 100, 0, 0, 0),
|
|
(7149, 6, 6175.18, -1050.23, 384.442, 100, 0, 0, 0),
|
|
(7149, 7, 6155.23, -1065.06, 386.591, 100, 0, 0, 0),
|
|
(7149, 8, 6137.4, -1084.74, 378.647, 100, 0, 0, 0),
|
|
(7149, 9, 6122.8, -1103.75, 378.912, 100, 0, 0, 0),
|
|
(7149, 10, 6096.04, -1115.2, 382.341, 100, 0, 0, 0),
|
|
(7149, 11, 6074.25, -1121.4, 384.519, 100, 0, 0, 0),
|
|
(7149, 12, 6042.1, -1131.14, 385.975, 100, 0, 0, 0),
|
|
(7149, 13, 6014.12, -1144.63, 382.659, 100, 0, 0, 0),
|
|
(7149, 14, 6001.12, -1152.37, 383.027, 100, 0, 0, 0),
|
|
(7149, 15, 5995.79, -1165.85, 380.019, 100, 0, 0, 0),
|
|
(7149, 16, 6004.15, -1189.49, 375.816, 100, 0, 0, 0),
|
|
(7149, 17, 5999.51, -1176.72, 377.65, 100, 0, 0, 0),
|
|
(7149, 18, 5998.48, -1157.92, 381.893, 100, 0, 0, 0),
|
|
(7149, 19, 6007.46, -1148.03, 382.847, 100, 0, 0, 0),
|
|
(7149, 20, 6029.85, -1135.8, 384.573, 100, 0, 0, 0),
|
|
(7149, 21, 6061.52, -1125.92, 382.84, 100, 0, 0, 0),
|
|
(7149, 22, 6086.74, -1118.29, 382.58, 100, 0, 0, 0),
|
|
(7149, 23, 6112.27, -1108.77, 380.007, 100, 0, 0, 0),
|
|
(7149, 24, 6129.77, -1095.34, 378.976, 100, 0, 0, 0),
|
|
(7149, 25, 6146.86, -1074.31, 384.025, 100, 0, 0, 0),
|
|
(7149, 26, 6164.89, -1057.88, 385.644, 100, 0, 0, 0),
|
|
(7149, 27, 6190.83, -1050.23, 385.128, 100, 0, 0, 0),
|
|
(7149, 28, 6212.58, -1053.26, 384.14, 100, 0, 0, 0),
|
|
(7149, 29, 6233.82, -1065.7, 378.292, 100, 0, 0, 0),
|
|
(7149, 30, 6254.13, -1085.99, 373.164, 100, 0, 0, 0),
|
|
(7149, 31, 6267.42, -1108.09, 371.779, 100, 0, 0, 0),
|
|
(7149, 32, 6275.6, -1132.68, 370.438, 100, 0, 0, 0),
|
|
(7149, 33, 6289.46, -1150.89, 371.887, 100, 0, 0, 0),
|
|
(7149, 34, 6307.14, -1164.6, 371.315, 100, 0, 0, 0),
|
|
(7149, 35, 6334.69, -1165.83, 374.801, 100, 0, 0, 0),
|
|
(7149, 36, 6363.05, -1163.33, 380.522, 100, 0, 0, 0),
|
|
(7149, 37, 6381.71, -1169.03, 384.295, 100, 0, 0, 0),
|
|
(7149, 38, 6404.97, -1182.2, 387.911, 100, 0, 0, 0),
|
|
(7149, 39, 6431.39, -1195.89, 391.949, 100, 0, 0, 0),
|
|
(7149, 40, 6440.83, -1217.2, 391.427, 100, 0, 0, 0),
|
|
(7149, 41, 6437.5, -1242.5, 386.985, 100, 0, 0, 0),
|
|
(7149, 42, 6424.35, -1258.93, 382.452, 100, 0, 0, 0),
|
|
(7149, 43, 6410.26, -1265.83, 380.125, 100, 0, 0, 0),
|
|
(7149, 44, 6403.62, -1289.88, 378.747, 100, 0, 0, 0),
|
|
(7149, 45, 6407.64, -1315.14, 379.195, 100, 0, 0, 0),
|
|
(7149, 46, 6410.48, -1340.81, 376.654, 100, 0, 0, 0),
|
|
(7149, 47, 6401.11, -1362.57, 375.53, 100, 0, 0, 0),
|
|
(7149, 48, 6390.2, -1385.65, 373.749, 100, 0, 0, 0),
|
|
(7149, 49, 6379.71, -1403.83, 372.139, 100, 0, 0, 0),
|
|
(7149, 50, 6355.8, -1407.68, 370.523, 100, 0, 0, 0),
|
|
(7149, 51, 6330.03, -1411.12, 369.948, 100, 0, 0, 0),
|
|
(7149, 52, 6302.5, -1411.3, 370.168, 100, 0, 0, 0),
|
|
(7149, 53, 6276.26, -1413.26, 370.636, 100, 0, 0, 0),
|
|
(7149, 54, 6251.27, -1413.99, 371.374, 100, 0, 0, 0),
|
|
(7149, 55, 6233.67, -1408.39, 372.346, 100, 0, 0, 0),
|
|
(7149, 56, 6217.47, -1388.04, 374.907, 100, 0, 0, 0),
|
|
(7149, 57, 6207.99, -1366.67, 374.665, 100, 0, 0, 0),
|
|
(7149, 58, 6202.87, -1347.49, 374.164, 100, 0, 0, 0),
|
|
(7149, 59, 6183.23, -1325.72, 376.406, 100, 0, 0, 0),
|
|
(7149, 60, 6192.93, -1338.55, 375.361, 100, 0, 0, 0),
|
|
(7149, 61, 6205.14, -1357.27, 374.126, 100, 0, 0, 0),
|
|
(7149, 62, 6213.2, -1378.06, 375.058, 100, 0, 0, 0),
|
|
(7149, 63, 6225.95, -1399.14, 372.927, 100, 0, 0, 0),
|
|
(7149, 64, 6242.37, -1411.42, 371.992, 100, 0, 0, 0),
|
|
(7149, 65, 6265, -1413.9, 370.826, 100, 0, 0, 0),
|
|
(7149, 66, 6287.65, -1412.61, 370.359, 100, 0, 0, 0),
|
|
(7149, 67, 6316.05, -1411.19, 370.188, 100, 0, 0, 0),
|
|
(7149, 68, 6344.72, -1409.77, 370.02, 100, 0, 0, 0),
|
|
(7149, 69, 6368.91, -1406.03, 371.307, 100, 0, 0, 0),
|
|
(7149, 70, 6386.11, -1393.71, 373.078, 100, 0, 0, 0),
|
|
(7149, 71, 6397.12, -1372.45, 374.832, 100, 0, 0, 0),
|
|
(7149, 72, 6407.15, -1351.29, 376.448, 100, 0, 0, 0),
|
|
(7149, 73, 6409.6, -1325.53, 377.409, 100, 0, 0, 0),
|
|
(7149, 74, 6406.54, -1305.61, 379.317, 100, 0, 0, 0),
|
|
(7149, 75, 6407.03, -1278.79, 379.823, 100, 0, 0, 0),
|
|
(7149, 76, 6417.13, -1262.34, 380.934, 100, 0, 0, 0),
|
|
(7149, 77, 6432.52, -1250.56, 384.983, 100, 0, 0, 0),
|
|
(7149, 78, 6440.17, -1229.76, 389.334, 100, 0, 0, 0),
|
|
(7149, 79, 6436.73, -1206.14, 391.837, 100, 0, 0, 0),
|
|
(7149, 80, 6418.82, -1188.39, 390.165, 100, 0, 0, 0),
|
|
(7149, 81, 6394.07, -1175.55, 386.343, 100, 0, 0, 0),
|
|
(7149, 82, 6373.79, -1165.98, 382.77, 100, 0, 0, 0),
|
|
(7149, 83, 6349.07, -1164.17, 377.449, 100, 0, 0, 0),
|
|
(7149, 84, 6319.04, -1165.49, 372.663, 100, 0, 0, 0),
|
|
(7149, 85, 6296.9, -1156.64, 371.238, 100, 0, 0, 0),
|
|
(7149, 86, 6282.96, -1143.63, 371.653, 100, 0, 0, 0);
|
|
|
|
-- Azshara
|
|
-- Archmage Xylem waypoints
|
|
UPDATE `creature` SET `position_x` = 3982.08, `position_y` = -4760.25, `position_z` = 304.803, `movement_type` = 2 WHERE `guid` = 35886;
|
|
INSERT INTO `creature_movement_template` (`entry`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `waittime`, `wander_distance`, `script_id`) VALUES
|
|
(8379, 1, 3982.08, -4760.25, 304.803, 5.3781, 60000, 0, 0),
|
|
(8379, 2, 3975.94, -4767.85, 304.728, 100, 0, 0, 0),
|
|
(8379, 3, 3972.76, -4771.82, 304.716, 100, 0, 0, 0),
|
|
(8379, 4, 3970.95, -4777.04, 304.728, 100, 0, 0, 0),
|
|
(8379, 5, 3970.78, -4780.04, 304.712, 100, 0, 0, 0),
|
|
(8379, 6, 3971.65, -4784.84, 304.718, 100, 0, 0, 0),
|
|
(8379, 7, 3976.24, -4788.04, 304.717, 100, 0, 0, 0),
|
|
(8379, 8, 3977.89, -4786.99, 304.73, 100, 0, 0, 0),
|
|
(8379, 9, 3977.45, -4783.41, 303.731, 100, 0, 0, 0),
|
|
(8379, 10, 3979.76, -4780.78, 301.995, 100, 0, 0, 0),
|
|
(8379, 11, 3983.23, -4782.2, 299.606, 100, 0, 0, 0),
|
|
(8379, 12, 3982.05, -4785.25, 297.913, 100, 0, 0, 0),
|
|
(8379, 13, 3974.91, -4782.9, 295.922, 100, 0, 0, 0),
|
|
(8379, 14, 3969.92, -4784.16, 296.018, 100, 10000, 0, 0),
|
|
(8379, 15, 3974.91, -4782.9, 295.922, 100, 0, 0, 0),
|
|
(8379, 16, 3982.05, -4785.25, 297.913, 100, 0, 0, 0),
|
|
(8379, 17, 3983.23, -4782.2, 299.606, 100, 0, 0, 0),
|
|
(8379, 18, 3979.76, -4780.78, 301.995, 100, 0, 0, 0),
|
|
(8379, 19, 3977.45, -4783.41, 303.731, 100, 0, 0, 0),
|
|
(8379, 20, 3977.89, -4786.99, 304.73, 100, 0, 0, 0),
|
|
(8379, 21, 3976.24, -4788.04, 304.717, 100, 0, 0, 0),
|
|
(8379, 22, 3971.65, -4784.84, 304.718, 100, 0, 0, 0),
|
|
(8379, 23, 3970.78, -4780.04, 304.712, 100, 0, 0, 0),
|
|
(8379, 24, 3970.95, -4777.04, 304.728, 100, 0, 0, 0),
|
|
(8379, 25, 3972.76, -4771.82, 304.716, 100, 0, 0, 0),
|
|
(8379, 26, 3975.94, -4767.85, 304.728, 100, 0, 0, 0);
|
|
|
|
-- allow Loramus guardians to roam
|
|
UPDATE `creature` SET `movement_type` = 1, `wander_distance` = 3 WHERE `guid` IN (35512, 35578, 35573);
|
|
|
|
-- allow Duke Hydraxis to roam
|
|
UPDATE `creature` SET `movement_type` = 1, `wander_distance` = 0.5 WHERE `guid` = 36098;
|
|
|
|
-- allow Horizon Scout Crewman to roam
|
|
UPDATE `creature` SET `movement_type` = 1, `wander_distance` = 0.5 WHERE `guid` IN (35901, 35899);
|
|
|
|
|
|
-- End of migration.
|
|
END IF;
|
|
END??
|
|
delimiter ;
|
|
CALL add_migration();
|
|
DROP PROCEDURE IF EXISTS add_migration;
|