chore(DB): import pending files

Referenced commit(s): bb66418929
This commit is contained in:
github-actions[bot]
2025-04-08 16:02:41 +00:00
parent bb66418929
commit 4089f652c9

View File

@@ -0,0 +1,280 @@
-- DB update 2025_04_05_01 -> 2025_04_08_00
-- Update Old Waypoints and add new sniffed ones
DELETE FROM `waypoint_data` WHERE `id` IN (1305670, 1305700, 1306080, 1306610, 1306820, 1307430, 1307920, 1307940, 1307960, 1307980, 1308270, 1308290, 1308300, 13089900, 13090000, 13090100, 13090200, 13090400, 13088900, 13089100);
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
(1305670, 1, 2423.54, -5882.78, 104.605, 1.47296, 0, 1, 0, 100, 0),
(1305670, 2, 2433.82, -5857.11, 108.447, 1.36237, 0, 1, 0, 100, 0),
(1305670, 3, 2436.81, -5823.62, 119.25, 1.61762, 0, 1, 0, 100, 0),
(1305670, 4, 2431.98, -5802.78, 130.28, 1.82575, 0, 1, 0, 100, 0),
(1305670, 5, 2424, -5775.7, 146.81, 1.97498, 0, 1, 0, 100, 0),
(1305700, 1, 2418.47, -5866.83, 104.969, 0.950663, 0, 1, 0, 100, 0),
(1305700, 2, 2430.8, -5848.82, 109.521, 1.01422, 0, 1, 0, 100, 0),
(1305700, 3, 2433.39, -5830.24, 115.967, 1.52315, 0, 1, 0, 100, 0),
(1305700, 4, 2433.82, -5819, 120.777, 1.75249, 0, 1, 0, 100, 0),
(1305700, 5, 2432.49, -5800.23, 132.063, 1.57577, 0, 1, 0, 100, 0),
(1305700, 6, 2426.62, -5784.07, 142.837, 2.06665, 0, 1, 0, 100, 0),
(1305700, 7, 2410.1, -5757.59, 153.412, 2.16482, 0, 1, 0, 100, 0),
(1306080, 1, 2408.25, -5881.06, 104.594, 0.957659, 0, 1, 0, 100, 0),
(1306080, 2, 2423.95, -5856.89, 106.491, 1.16523, 0, 1, 0, 100, 0),
(1306080, 3, 2433.64, -5834, 114.61, 1.48489, 0, 1, 0, 100, 0),
(1306080, 4, 2433.44, -5812.11, 124.299, 1.63019, 0, 1, 0, 100, 0),
(1306080, 5, 2425.49, -5779.39, 145.143, 2.05038, 0, 1, 0, 100, 0),
(1306610, 1, 2147.33, -5708.85, 102.006, 0.499547, 0, 1, 0, 100, 0),
(1306610, 2, 2172.61, -5683.99, 109.826, 0.77912, 0, 1, 0, 100, 0),
(1306610, 3, 2199.89, -5659.37, 119.516, 0.684872, 0, 1, 0, 100, 0),
(1306610, 4, 2223.32, -5646.06, 128.413, 0.377782, 0, 1, 0, 100, 0),
(1306610, 5, 2251.14, -5644.13, 135.913, 0.0549819, 0, 1, 0, 100, 0),
(1306610, 6, 2282.16, -5654.42, 144.602, 5.97689, 0, 1, 0, 100, 0),
(1306820, 1, 2161, -5725.64, 101.333, 1.15301, 0, 1, 0, 100, 0),
(1306820, 2, 2175.47, -5690.91, 108.545, 0.956659, 0, 1, 0, 100, 0),
(1306820, 3, 2198.8, -5668.79, 116.512, 0.721039, 0, 1, 0, 100, 0),
(1306820, 4, 2221.04, -5654.31, 126.426, 0.481493, 0, 1, 0, 100, 0),
(1306820, 5, 2243.41, -5649.02, 132.889, 0.163406, 0, 1, 0, 100, 0),
(1306820, 6, 2277.84, -5647.74, 143.051, 0.00239992, 0, 1, 0, 100, 0),
(1307430, 1, 2404.13, -5842.26, 109.903, 6.24425, 0, 1, 0, 100, 0),
(1307430, 2, 2425.5, -5847.68, 108.85, 0.772094, 0, 1, 0, 100, 0),
(1307430, 3, 2430.1, -5838.91, 112.438, 1.23234, 0, 1, 0, 100, 0),
(1307430, 4, 2430.68, -5821.38, 119.77, 1.71614, 0, 1, 0, 100, 0),
(1307430, 5, 2428.18, -5809.46, 126.166, 1.80646, 0, 1, 0, 100, 0),
(1307430, 6, 2426.04, -5787.39, 141.243, 1.66902, 0, 1, 0, 100, 0),
(1307430, 7, 2409.18, -5760.7, 152.965, 2.32483, 0, 1, 0, 100, 0),
(1307920, 1, 2433.58, -5882.05, 104.646, 1.99054, 0, 1, 0, 100, 0),
(1307920, 2, 2432.74, -5862.93, 107.076, 1.56086, 0, 1, 0, 100, 0),
(1307920, 3, 2438.97, -5840.58, 113.607, 1.36843, 0, 1, 0, 100, 0),
(1307920, 4, 2436.82, -5817.06, 121.897, 1.69437, 0, 1, 0, 100, 0),
(1307920, 5, 2436.44, -5803.47, 130.055, 1.50588, 0, 1, 0, 100, 0),
(1307920, 6, 2435.01, -5791.9, 138.069, 2.21117, 0, 1, 0, 100, 0),
(1307920, 7, 2410.08, -5768.17, 152.083, 2.47427, 0, 1, 0, 100, 0),
(1307940, 1, 2114.59, -5697.8, 100.391, 6.0342, 0, 1, 0, 100, 0),
(1307940, 2, 2157.63, -5689.16, 106.345, 0.323566, 0, 1, 0, 100, 0),
(1307940, 3, 2167.83, -5690.44, 107.717, 0.39582, 0, 1, 0, 100, 0),
(1307940, 4, 2190.97, -5669.45, 115.191, 0.753176, 0, 1, 0, 100, 0),
(1307940, 5, 2216.44, -5653.29, 125.529, 0.497921, 0, 1, 0, 100, 0),
(1307940, 6, 2240.74, -5645.78, 132.926, 0.250521, 0, 1, 0, 100, 0),
(1307940, 7, 2282.69, -5645.59, 144.297, 0.00704718, 0, 1, 0, 100, 0),
(1307960, 1, 2144.62, -5672.69, 110.442, 0.335399, 0, 1, 0, 100, 0),
(1307960, 2, 2152.14, -5670.07, 107.855, 0.335399, 0, 1, 0, 100, 0),
(1307960, 3, 2185.46, -5659.7, 117.721, 0.249005, 0, 1, 0, 100, 0),
(1307960, 4, 2220.1, -5657.21, 125.484, 0.0369478, 0, 1, 0, 100, 0),
(1307960, 5, 2248.78, -5655.03, 133.863, 0.131196, 0, 1, 0, 100, 0),
(1307960, 6, 2281.57, -5648.59, 143.968, 0.256859, 0, 1, 0, 100, 0),
(1307980, 1, 2150.97, -5712.69, 101.91, 0.783094, 0, 1, 0, 100, 0),
(1307980, 2, 2179.7, -5682.61, 110.924, 0.790948, 0, 1, 0, 100, 0),
(1307980, 3, 2203.85, -5662.88, 119.445, 0.661357, 0, 1, 0, 100, 0),
(1307980, 4, 2223, -5649.27, 127.826, 0.246667, 0, 1, 0, 100, 0),
(1307980, 5, 2248.94, -5651.66, 134.06, 6.15286, 0, 1, 0, 100, 0),
(1307980, 6, 2277.4, -5655.15, 143.306, 6.25889, 0, 1, 0, 100, 0),
(1308270, 1, 2126.6, -5688.54, 101.156, 0.204981, 0, 1, 0, 100, 0),
(1308270, 2, 2158.87, -5673.12, 109.316, 0.711562, 0, 1, 0, 100, 0),
(1308270, 3, 2174.26, -5662.13, 114.756, 0.511285, 0, 1, 0, 100, 0),
(1308270, 4, 2199.97, -5651.31, 121.689, 0.456308, 0, 1, 0, 100, 0),
(1308270, 5, 2226.78, -5642.05, 130.179, 0.142148, 0, 1, 0, 100, 0),
(1308270, 6, 2246.62, -5640.31, 135.689, 0.0636083, 0, 1, 0, 100, 0),
(1308270, 7, 2279.48, -5641.56, 144.101, 0.0478973, 0, 1, 0, 100, 0),
(1308290, 1, 2196.45, -5701.93, 112.392, 1.22368, 0, 1, 0, 100, 0),
(1308290, 2, 2198.34, -5693.86, 110.321, 1.28573, 0, 1, 0, 100, 0),
(1308290, 3, 2206.89, -5672.37, 117.232, 1.0611, 0, 1, 0, 100, 0),
(1308290, 4, 2218.14, -5658.96, 124.59, 0.812133, 0, 1, 0, 100, 0),
(1308290, 5, 2236.62, -5648.38, 131.373, 0.218372, 0, 1, 0, 100, 0),
(1308290, 6, 2284.18, -5642.92, 144.844, 6.24866, 0, 1, 0, 100, 0),
(1308300, 1, 2205.81, -5731.66, 102.209, 1.47266, 0, 1, 0, 100, 0),
(1308300, 2, 2208.49, -5705.15, 102.799, 1.7774, 0, 1, 0, 100, 0),
(1308300, 3, 2206.62, -5688.95, 110.31, 1.20799, 0, 1, 0, 100, 0),
(1308300, 4, 2213.77, -5676.03, 118.232, 1.02342, 0, 1, 0, 100, 0),
(1308300, 5, 2224.66, -5670, 124.341, 0.375463, 0, 1, 0, 100, 0),
(1308300, 6, 2240.25, -5670.29, 134.257, 6.15207, 0, 1, 0, 100, 0),
(1308300, 7, 2248.5, -5671.39, 139.033, 0.109213, 0, 1, 0, 100, 0),
(1308300, 8, 2256.87, -5669.47, 139.138, 0.524688, 0, 1, 0, 100, 0),
(1308300, 9, 2276.56, -5651.09, 142.69, 0.764235, 0, 1, 0, 100, 0),
(13089900, 1, 2131.591, -5720.3433, 100.57901, NULL, 0, 0, 0, 100, 0),
(13089900, 2, 2110.2612, -5721.837, 100.26057, NULL, 0, 0, 0, 100, 0),
(13089900, 3, 2106.3157, -5737.9785, 100.08478, NULL, 0, 0, 0, 100, 0),
(13089900, 4, 2115.1592, -5749.5054, 99.135666, NULL, 0, 0, 0, 100, 0),
(13089900, 5, 2124.6672, -5761.939, 98.248505, NULL, 0, 0, 0, 100, 0),
(13089900, 6, 2139.437, -5760.2915, 98.927, NULL, 0, 0, 0, 100, 0),
(13089900, 7, 2145.9106, -5734.6055, 100.45424, NULL, 0, 0, 0, 100, 0),
(13090000, 1, 2215.5518, -5759.664, 101.877144, NULL, 0, 0, 0, 100, 0),
(13090000, 2, 2226.106, -5778.354, 101.74698, NULL, 0, 0, 0, 100, 0),
(13090000, 3, 2220.9858, -5781.23, 101.76267, NULL, 0, 0, 0, 100, 0),
(13090000, 4, 2195.6956, -5764.996, 101.498505, NULL, 0, 0, 0, 100, 0),
(13090000, 5, 2173.3235, -5761.4497, 101.05471, NULL, 0, 0, 0, 100, 0),
(13090000, 6, 2153.9517, -5764.4, 100.5215, NULL, 0, 0, 0, 100, 0),
(13090000, 7, 2152.9456, -5752.293, 100.45299, NULL, 0, 0, 0, 100, 0),
(13090000, 8, 2173.3372, -5747.4893, 101.528175, NULL, 0, 0, 0, 100, 0),
(13090000, 9, 2198.4993, -5750.3794, 102.33862, NULL, 0, 0, 0, 100, 0),
(13090100, 1, 2132.2407, -5854.4795, 101.567406, NULL, 0, 0, 0, 100, 0),
(13090100, 2, 2130.2166, -5813.2637, 100.20624, NULL, 0, 0, 0, 100, 0),
(13090100, 3, 2145.9297, -5804.831, 100.50734, NULL, 0, 0, 0, 100, 0),
(13090100, 4, 2156.4133, -5815.759, 101.994354, NULL, 0, 0, 0, 100, 0),
(13090100, 5, 2159.9875, -5843.3423, 101.890656, NULL, 0, 0, 0, 100, 0),
(13090100, 6, 2154.5085, -5859.6235, 101.34964, NULL, 0, 0, 0, 100, 0),
(13090200, 1, 2192.9531, -5847.5586, 101.35065, NULL, 0, 0, 0, 100, 0),
(13090200, 2, 2235.821, -5840.7783, 101.328545, NULL, 0, 0, 0, 100, 0),
(13090200, 3, 2262.442, -5825.32, 100.95352, NULL, 0, 0, 0, 100, 0),
(13090200, 4, 2248.8523, -5805.9634, 100.984924, NULL, 0, 0, 0, 100, 0),
(13090200, 5, 2220.3105, -5788.513, 101.62292, NULL, 0, 0, 0, 100, 0),
(13090200, 6, 2190.8503, -5788.099, 101.2951, NULL, 0, 0, 0, 100, 0),
(13090200, 7, 2188.739, -5808.673, 101.348785, NULL, 0, 0, 0, 100, 0),
(13090200, 8, 2179.718, -5821.979, 101.34927, NULL, 0, 0, 0, 100, 0),
(13090200, 9, 2177.2883, -5840.108, 101.34981, NULL, 0, 0, 0, 100, 0),
(13090400, 1, 2256.2764, -5890.6562, 101.44203, NULL, 0, 0, 0, 100, 0),
(13090400, 2, 2240.5693, -5904.405, 100.71199, NULL, 0, 0, 0, 100, 0),
(13090400, 3, 2220.9739, -5903.4688, 101.04503, NULL, 0, 0, 0, 100, 0),
(13090400, 4, 2192.1167, -5905.659, 101.17277, NULL, 0, 0, 0, 100, 0),
(13090400, 5, 2176.4097, -5876.2295, 101.27049, NULL, 0, 0, 0, 100, 0),
(13090400, 6, 2179.3398, -5870.907, 101.486725, NULL, 0, 0, 0, 100, 0),
(13090400, 7, 2181.5898, -5866.657, 101.486725, NULL, 0, 0, 0, 100, 0),
(13090400, 8, 2183.5898, -5865.657, 101.486725, NULL, 0, 0, 0, 100, 0),
(13090400, 9, 2194.078, -5861.505, 101.30086, NULL, 0, 0, 0, 100, 0),
(13090400, 10, 2223.3035, -5858.537, 101.39542, NULL, 0, 0, 0, 100, 0),
(13090400, 11, 2240.2375, -5855.334, 101.23598, NULL, 0, 0, 0, 100, 0),
(13090400, 12, 2242.037, -5856.289, 101.35182, NULL, 0, 0, 0, 100, 0),
(13090400, 13, 2243.787, -5858.289, 101.35182, NULL, 0, 0, 0, 100, 0),
(13090400, 14, 2245.787, -5862.289, 101.10182, NULL, 0, 0, 0, 100, 0),
(13090400, 15, 2249.3687, -5868.2607, 100.94336, NULL, 0, 0, 0, 100, 0),
(13088900, 1, 2405.7917, -5757.585, 153.6106, NULL, 0, 0, 0, 100, 0),
(13088900, 2, 2381.2512, -5732.2817, 153.9219, NULL, 0, 0, 0, 100, 0),
(13088900, 3, 2359.743, -5709.2744, 153.92166, NULL, 0, 0, 0, 100, 0),
(13088900, 4, 2338.845, -5686.682, 153.92166, NULL, 0, 0, 0, 100, 0),
(13088900, 5, 2309.6255, -5658.0845, 151.2444, NULL, 3000, 0, 0, 100, 0),
(13088900, 6, 2338.845, -5686.682, 153.92166, NULL, 0, 0, 0, 100, 0),
(13088900, 7, 2359.743, -5709.2744, 153.92166, NULL, 0, 0, 0, 100, 0),
(13088900, 8, 2381.2512, -5732.2817, 153.9219, NULL, 0, 0, 0, 100, 0),
(13088900, 9, 2405.7917, -5757.585, 153.6106, NULL, 0, 0, 0, 100, 0),
(13088900, 10, 2416.9792, -5773.5024, 149.15129, NULL, 3000, 0, 0, 100, 0),
(13089100, 1, 2391.0867, -5749.235, 154.05186, NULL, 0, 0, 0, 100, 0),
(13089100, 2, 2368.9424, -5725.1826, 153.99223, NULL, 0, 0, 0, 100, 0),
(13089100, 3, 2336.4465, -5691.1587, 153.92166, NULL, 0, 0, 0, 100, 0),
(13089100, 4, 2299.0989, -5676.1055, 152.99371, NULL, 3000, 0, 0, 100, 0),
(13089100, 5, 2336.4465, -5691.1587, 153.92166, NULL, 0, 0, 0, 100, 0),
(13089100, 6, 2368.9424, -5725.1826, 153.99223, NULL, 0, 0, 0, 100, 0),
(13089100, 7, 2391.0867, -5749.235, 154.05186, NULL, 0, 0, 0, 100, 0),
(13089100, 8, 2407.6187, -5773.5493, 151.79308, NULL, 3000, 0, 0, 100, 0);
-- Remove Wrong Guids
DELETE FROM `creature` WHERE (`id1` IN (29102, 29103, 29106, 29115)) AND (`guid` IN (130558, 130559, 130565, 130566, 130569, 130577, 130587, 130599, 130603, 130609, 130613, 130615, 130616, 130617, 130618, 130619, 130620, 130637, 130641, 130642, 130653, 130654, 130655, 130656, 130657, 130659, 130662, 130663, 130664, 130665, 130666, 130667, 130668, 130669, 130670, 130671, 130672, 130673, 130674, 130675, 130676, 130677, 130678, 130679, 130680, 130681, 130684, 130685, 130686, 130687, 130691, 130692, 130694, 130696, 130697, 130698, 130701, 130702, 130703, 130704, 130705, 130708, 130709, 130710, 130716, 130717, 130718, 130719, 130720, 130734, 130739, 130741, 130745, 130746, 130749, 130750, 130751, 130752, 130753, 130754, 130755, 130766, 130779, 130782, 130788, 130789, 130790, 130791, 130799, 130800, 130801, 130802, 130803, 130804, 130805, 130806, 130807, 130808, 130809, 130810, 130811, 130812, 130813, 130814, 130816, 130817, 130818, 130819, 130820, 130821, 130822, 130823, 130824, 130825, 130832, 130834, 130835, 130836, 130838, 130842, 130845, 130847, 130848, 130849, 130850, 130852, 130853, 130855, 130856, 130888, 130903));
DELETE FROM `creature_addon` WHERE (`guid` IN (130558, 130559, 130565, 130566, 130569, 130577, 130587, 130599, 130603, 130609, 130613, 130615, 130616, 130617, 130618, 130619, 130620, 130637, 130641, 130642, 130653, 130654, 130655, 130656, 130657, 130659, 130662, 130663, 130664, 130665, 130666, 130667, 130668, 130669, 130670, 130671, 130672, 130673, 130674, 130675, 130676, 130677, 130678, 130679, 130680, 130681, 130684, 130685, 130686, 130687, 130691, 130692, 130694, 130696, 130697, 130698, 130701, 130702, 130703, 130704, 130705, 130708, 130709, 130710, 130716, 130717, 130718, 130719, 130720, 130734, 130739, 130741, 130745, 130746, 130749, 130750, 130751, 130752, 130753, 130754, 130755, 130766, 130779, 130782, 130788, 130789, 130790, 130791, 130799, 130800, 130801, 130802, 130803, 130804, 130805, 130806, 130807, 130808, 130809, 130810, 130811, 130812, 130813, 130814, 130816, 130817, 130818, 130819, 130820, 130821, 130822, 130823, 130824, 130825, 130832, 130834, 130835, 130836, 130838, 130842, 130845, 130847, 130848, 130849, 130850, 130852, 130853, 130855, 130856, 130888, 130903));
-- Edit Spawn Time and MovementType for Hearthglen/Tirisfal Crusaders and Scarlet Ballista
UPDATE `creature` SET `spawntimesecs` = 30, `MovementType` = 0 WHERE (`id1` IN (29102, 29103, 29104)) AND (`guid` IN (130555, 130556, 130557, 130560, 130561, 130562, 130563, 130564, 130567, 130568, 130570, 130571, 130572, 130573, 130575, 130576, 130578, 130579, 130580, 130581, 130582, 130583, 130584, 130585, 130586, 130588, 130589, 130590, 130591, 130592, 130593, 130594, 130595, 130596, 130597, 130598, 130600, 130601, 130604, 130605, 130606, 130607, 130608, 130610, 130611, 130612, 130614, 130621, 130622, 130623, 130624, 130625, 130626, 130627, 130628, 130629, 130630, 130631, 130632, 130633, 130634, 130635, 130636, 130638, 130639, 130640, 130643, 130644, 130645, 130646, 130647, 130648, 130649, 130650, 130651, 130652, 130661, 130682, 130688, 130693, 130699, 130700, 130706, 130707, 130711, 130712, 130713, 130714, 130715, 130723, 130724, 130725, 130726, 130727, 130728, 130729, 130730, 130731, 130732, 130735, 130736, 130737, 130738, 130740, 130742, 130743, 130744, 130747, 130748, 130756, 130757, 130758, 130759, 130760, 130761, 130762, 130763, 130764, 130765, 130767, 130768, 130769, 130770, 130771, 130772, 130773, 130774, 130775, 130776, 130777, 130778, 130780, 130781, 130783, 130784, 130785, 130786, 130787, 130792, 130794, 130796, 130798, 130827, 130829, 130830, 130831, 130833, 130837, 130839, 130840, 130841, 130843, 130844, 130846, 130851, 130854, 130857, 130858, 130859, 130860, 130861, 130862, 130863, 130864, 130865, 130866, 130867, 130868, 130869, 130870, 130871, 130872, 130873, 130874, 130875, 130876, 130877, 130878));
-- Remove Pathid for Crusaders
UPDATE `creature_addon` SET `path_id` = 0 WHERE (`guid` IN (130567, 130570, 130608, 130661, 130682, 130743, 130792, 130794, 130796, 130798, 130827, 130829, 130830));
-- Set new spawn points and waypoints for Rampaging Abomination/Death Knight Champions. Remove emote from 2 Champions. Remove "Dazed" Aura from some Crusaders
UPDATE `creature` SET `position_x` = 2145.9106, `position_y` = -5734.6055, `position_z` = 100.45424, `wander_distance` = 0, `MovementType` = 2 WHERE `id1` = 29115 AND `guid` = 130899;
UPDATE `creature` SET `position_x` = 2198.4993, `position_y` = -5750.3794, `position_z` = 102.33862, `wander_distance` = 0, `MovementType` = 2 WHERE `id1` = 29115 AND `guid` = 130900;
UPDATE `creature` SET `position_x` = 2154.5085, `position_y` = -5859.6235, `position_z` = 101.34964, `wander_distance` = 0, `MovementType` = 2 WHERE `id1` = 29115 AND `guid` = 130901;
UPDATE `creature` SET `position_x` = 2177.2883, `position_y` = -5840.108, `position_z` = 101.34981, `wander_distance` = 0, `MovementType` = 2 WHERE `id1` = 29115 AND `guid` = 130902;
UPDATE `creature` SET `position_x` = 2249.3687, `position_y` = -5868.2607, `position_z` = 100.94336, `wander_distance` = 0, `MovementType` = 2 WHERE `id1` = 29115 AND `guid` = 130904;
UPDATE `creature` SET `position_x` = 2416.9792, `position_y` = -5773.5024, `position_z` = 149.15129, `MovementType` = 2 WHERE (`id1` = 29106) AND (`guid` = 130889);
UPDATE `creature` SET `position_x` = 2407.6187, `position_y` = -5773.5493, `position_z` = 151.79308, `MovementType` = 2 WHERE (`id1` = 29106) AND (`guid` = 130891);
UPDATE `creature_addon` SET `path_id` = 13089900 WHERE (`guid` IN (130899));
UPDATE `creature_addon` SET `path_id` = 13090000 WHERE (`guid` IN (130900));
UPDATE `creature_addon` SET `path_id` = 13090100 WHERE (`guid` IN (130901));
UPDATE `creature_addon` SET `path_id` = 13090200 WHERE (`guid` IN (130902));
UPDATE `creature_addon` SET `path_id` = 13090400 WHERE (`guid` IN (130904));
UPDATE `creature_addon` SET `path_id` = 13088900 WHERE (`guid` IN (130889));
UPDATE `creature_addon` SET `path_id` = 13089100 WHERE (`guid` IN (130891));
UPDATE `creature_addon` SET `emote` = 0 WHERE (`guid` IN (130889, 130891));
UPDATE `creature_addon` SET `auras` = '' WHERE (`guid` IN (130749, 130789, 130799));
-- Remove Spell from Tirisfal/Hearthglen Crusaders and Scarlet Ballista
DELETE FROM `creature_template_spell` WHERE (`CreatureID` IN (29102, 29103, 29104));
-- Add Disable Gravity and Rooted to Scarlet Ballista
DELETE FROM `creature_template_movement` WHERE (`CreatureId` = 29104);
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES
(29104, 0, 0, 1, 1, 0, 0, 0);
-- Add SmartAI for Tirisfal/Hearthglen Crusaders and Scarlet Ballista
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE (`entry` IN (29102, 29103, 29104));
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND (`entryorguid` IN (29102, 29103, 29104)));
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(29102, 0, 0, 0, 24, 0, 100, 0, 52196, 1, 1000, 2000, 0, 0, 11, 53348, 0, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Target Buffed With \'Frostbrood Vanquisher\' - Cast \'Arrow Assault\''),
(29102, 0, 1, 0, 9, 0, 100, 0, 2000, 4000, 4000, 6000, 40, 150, 11, 53345, 64, 0, 1, 0, 0, 9, 0, 40, 150, 0, 0, 0, 0, 0, 'Hearthglen Crusader - Within 40-150 Range - Cast \'Arrow Assault\''),
(29103, 0, 0, 0, 24, 0, 100, 0, 52196, 1, 1000, 2000, 0, 0, 11, 53348, 0, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Target Buffed With \'Frostbrood Vanquisher\' - Cast \'Arrow Assault\''),
(29103, 0, 1, 0, 9, 0, 100, 0, 2000, 4000, 4000, 6000, 40, 150, 11, 53345, 64, 0, 1, 0, 0, 9, 0, 40, 150, 0, 0, 0, 0, 0, 'Tirisfal Crusader - Within 40-150 Range - Cast \'Arrow Assault\''),
(29104, 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 205, 250, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Ballista - On Reset - Set combat distance to 250'),
(29104, 0, 1, 0, 1, 0, 100, 1, 1000, 1000, 1000, 1000, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Ballista - Out of Combat - Disable Combat Movement (No Repeat)'),
(29104, 0, 2, 0, 0, 0, 100, 0, 2000, 3000, 4000, 5000, 0, 0, 11, 53117, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Ballista - In Combat - Cast \'Ballista Assault\'');
-- Set Extra Flag DONT_OVERRIDE_SAI_ENTRY for Crusaders
UPDATE `creature_template` SET `flags_extra` = `flags_extra` |134217728 WHERE (`entry` IN (29102, 29103));
-- Update Comments
UPDATE `creature` SET `Comment` = "has guid specific SAI" WHERE (`id1` IN (29102, 29103)) AND (`guid` IN (130567, 130570, 130608, 130661, 130682, 130743, 130792, 130794, 130796, 130798, 130827, 130829, 130830));
-- Set Guid SmartAI
DELETE FROM `smart_scripts` WHERE (`entryorguid` IN (-130567, -130570, -130608, -130661, -130682, -130743, -130792, -130794, -130796, -130798, -130827, -130829, -130830)) AND (`source_type` = 0) AND (`id` IN (5, 6, 7));
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-130567, 0, 5, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 1305670, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Respawn - Start Path 1308300'),
(-130567, 0, 6, 0, 109, 0, 100, 0, 0, 1305670, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Path 1308300 Finished - Despawn In 2000 ms'),
(-130567, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Just Died - Despawn In 2000 ms'),
(-130570, 0, 5, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 1305700, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Respawn - Start Path 1308300'),
(-130570, 0, 6, 0, 109, 0, 100, 0, 0, 1305700, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Path 1308300 Finished - Despawn In 2000 ms'),
(-130570, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Just Died - Despawn In 2000 ms'),
(-130608, 0, 5, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 1306080, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Respawn - Start Path 1308300'),
(-130608, 0, 6, 0, 109, 0, 100, 0, 0, 1306080, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Path 1308300 Finished - Despawn In 2000 ms'),
(-130608, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Just Died - Despawn In 2000 ms'),
(-130661, 0, 5, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 1306610, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Respawn - Start Path 1308300'),
(-130661, 0, 6, 0, 109, 0, 100, 0, 0, 1306610, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Path 1308300 Finished - Despawn In 2000 ms'),
(-130661, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Just Died - Despawn In 2000 ms'),
(-130682, 0, 5, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 1306820, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Respawn - Start Path 1308300'),
(-130682, 0, 6, 0, 109, 0, 100, 0, 0, 1306820, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Path 1308300 Finished - Despawn In 2000 ms'),
(-130682, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hearthglen Crusader - On Just Died - Despawn In 2000 ms'),
(-130743, 0, 5, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 1307430, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Respawn - Start Path 1308300'),
(-130743, 0, 6, 0, 109, 0, 100, 0, 0, 1307430, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Path 1308300 Finished - Despawn In 2000 ms'),
(-130743, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Just Died - Despawn In 2000 ms'),
(-130792, 0, 5, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 1307920, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Respawn - Start Path 1308300'),
(-130792, 0, 6, 0, 109, 0, 100, 0, 0, 1307920, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Path 1308300 Finished - Despawn In 2000 ms'),
(-130792, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Just Died - Despawn In 2000 ms'),
(-130794, 0, 5, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 1307940, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Respawn - Start Path 1308300'),
(-130794, 0, 6, 0, 109, 0, 100, 0, 0, 1307940, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Path 1308300 Finished - Despawn In 2000 ms'),
(-130794, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Just Died - Despawn In 2000 ms'),
(-130796, 0, 5, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 1307960, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Respawn - Start Path 1308300'),
(-130796, 0, 6, 0, 109, 0, 100, 0, 0, 1307960, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Path 1308300 Finished - Despawn In 2000 ms'),
(-130796, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Just Died - Despawn In 2000 ms'),
(-130798, 0, 5, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 1307980, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Respawn - Start Path 1308300'),
(-130798, 0, 6, 0, 109, 0, 100, 0, 0, 1307980, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Path 1308300 Finished - Despawn In 2000 ms'),
(-130798, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Just Died - Despawn In 2000 ms'),
(-130827, 0, 5, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 1308270, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Respawn - Start Path 1308300'),
(-130827, 0, 6, 0, 109, 0, 100, 0, 0, 1308270, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Path 1308300 Finished - Despawn In 2000 ms'),
(-130827, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Just Died - Despawn In 2000 ms'),
(-130829, 0, 5, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 1308290, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Respawn - Start Path 1308300'),
(-130829, 0, 6, 0, 109, 0, 100, 0, 0, 1308290, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Path 1308300 Finished - Despawn In 2000 ms'),
(-130829, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Just Died - Despawn In 2000 ms'),
(-130830, 0, 5, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 1308300, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Respawn - Start Path 1308300'),
(-130830, 0, 6, 0, 109, 0, 100, 0, 0, 1308300, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Path 1308300 Finished - Despawn In 2000 ms'),
(-130830, 0, 7, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tirisfal Crusader - On Just Died - Despawn In 2000 ms');
-- Add SmartAI for Rampaging Abominations
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 29115;
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 29115) AND (`source_type` = 0) AND (`id` IN (0, 1));
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(29115, 0, 0, 0, 0, 0, 100, 0, 8000, 12000, 8000, 12000, 0, 0, 11, 53633, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Rampaging Abomination - In Combat - Cast \'Cleave\''),
(29115, 0, 1, 0, 9, 0, 100, 0, 8000, 12000, 8000, 12000, 8, 40, 11, 50335, 0, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Rampaging Abomination - Within 8-40 Range - Cast \'Scourge Hook\'');
-- Add SmartAI for Volatile Ghoul
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 29136;
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 29136) AND (`source_type` = 0) AND (`id` IN (0));
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(29136, 0, 0, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 53278, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Volatile Ghoul - On Just Died - Cast \'Ghoulplosion\'');
-- Add Death Knight Champion SmartAI
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 29106;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 29106);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(29106, 0, 0, 0, 0, 0, 100, 0, 4000, 6000, 8000, 12000, 0, 0, 11, 52372, 32, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Champion - In Combat - Cast \'Icy Touch\''),
(29106, 0, 1, 0, 0, 0, 100, 0, 3000, 5000, 8000, 12000, 0, 0, 11, 52373, 32, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Champion - In Combat - Cast \'Plague Strike\''),
(29106, 0, 2, 0, 0, 0, 100, 0, 4000, 8000, 4000, 8000, 0, 0, 11, 52374, 0, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Champion - In Combat - Cast \'Blood Strike\''),
(29106, 0, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 52375, 0, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Champion - In Combat - Cast \'Death Coil\'');
-- Set Detection range for Baron Rivendare
UPDATE `creature_template` SET `detection_range` = 20 WHERE (`entry` = 29109);