diff --git a/data/sql/updates/pending_db_world/rev_1677334339053733900.sql b/data/sql/updates/pending_db_world/rev_1677334339053733900.sql new file mode 100644 index 000000000..507f3f222 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1677334339053733900.sql @@ -0,0 +1,182 @@ +-- +DELETE FROM `creature` WHERE `id1` IN (20561, 20340); +INSERT INTO `creature` (`guid`, `id1`, `map`, `ZoneId`, `AreaId`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `MovementType`, `wander_distance`) VALUES +(25747, 20561, 530, 3523, 3880, 1, 3835.91, 2045.9, 145.151, 0.942478, 180, 0, 0), +(25748, 20561, 530, 3523, 3880, 1, 3870.96, 2103.97, 133.353, 1.58825, 180, 0, 0), +(25749, 20561, 530, 3523, 3880, 1, 3987.21, 2132.56, 162.681, 3.40339, 180, 0, 0), +(25750, 20561, 530, 3523, 3880, 1, 3935.88, 2138.8, 160.69, 1.23918, 180, 0, 0), +(25751, 20561, 530, 3523, 3880, 1, 3968.76, 2112.71, 162.382, 6.19592, 180, 0, 0), +(25752, 20561, 530, 3523, 3880, 1, 3926.43, 2105.75, 159.264, 3.61283, 180, 0, 0), +(25753, 20561, 530, 3523, 3880, 1, 3912.87, 2079.35, 153.77, 1.37881, 180, 0, 0), +(25754, 20561, 530, 3523, 3880, 1, 3902.53, 2052.92, 150.162, 3.21141, 180, 0, 0), +(25755, 20561, 530, 3523, 3880, 1, 3908.28, 2081.01, 133.479, 4.18879, 180, 0, 0), +(25756, 20561, 530, 3523, 3880, 1, 3839.54, 2137.05, 145.967, 3.54302, 180, 0, 0), +(25757, 20561, 530, 3523, 3880, 1, 3815.1, 2102.61, 148.003, 1.72788, 180, 0, 0), +(25758, 20561, 530, 3523, 3880, 1, 3890.49, 2102.26, 153.708, 4.62512, 180, 0, 0), +(25759, 20561, 530, 3523, 3880, 1, 3881.19, 2078.43, 131.736, 3.66519, 180, 0, 0), +(25760, 20561, 530, 3523, 3880, 1, 3867.95, 2023.28, 144.585, 5.65487, 180, 0, 0), +(25761, 20561, 530, 3523, 3880, 1, 3823.88, 2064.43, 147.579, 6.21337, 180, 0, 0), +(25762, 20561, 530, 3523, 3880, 1, 3790.07, 2073.02, 153.16, 4.60767, 180, 0, 0), +(25763, 20561, 530, 3523, 3880, 1, 3711.35, 2096.57, 151.984, 1.18682, 180, 0, 0), +(25764, 20561, 530, 3523, 3880, 1, 3737.86, 2082.16, 148.9, 0.837758, 180, 0, 0), +(25765, 20561, 530, 3523, 3880, 1, 3750.9, 2055.32, 148.853, 5.44543, 180, 0, 0), +(25766, 20561, 530, 3523, 3880, 1, 3760.86, 2082.87, 152.837, 2.40855, 180, 0, 0), +(25767, 20561, 530, 3523, 3880, 1, 3840.47, 2122.01, 146.953, 1.71989, 180, 0, 0), +(25769, 20561, 530, 3523, 3880, 1, 3863.25, 2120.24, 146.842, 5.46288, 180, 0, 0), +(25770, 20561, 530, 3523, 3880, 1, 3848.73, 2147.21, 140.23, 1.94765, 180, 0, 0), +(25771, 20561, 530, 3523, 3880, 1, 3852.86, 2153.85, 140.535, 1.10727, 180, 0, 0), +(25772, 20561, 530, 3523, 3880, 1, 3875.74, 2150.16, 139.272, 3.61283, 180, 0, 0), +(25773, 20561, 530, 3523, 3880, 1, 3903.43, 2124.28, 137.706, 0.244346, 180, 0, 0), +(25774, 20340, 530, 3523, 3880, 0, 3838.25, 2043.45, 144.456, 2.28582, 300, 2, 0), +(25775, 20340, 530, 3523, 3880, 0, 3845.78, 2111.57, 148.651, 5.05916, 300, 1, 5), +(25776, 20340, 530, 3523, 3880, 0, 3970.96, 2131.35, 161.178, 0.563203, 300, 1, 5), +(25777, 20340, 530, 3523, 3880, 0, 3700.07, 2104.38, 154.187, 1.05376, 300, 2, 0), +(25778, 20340, 530, 3523, 3880, 0, 3802, 2077.1, 149.618, 2.7682, 300, 1, 5), +(25779, 20340, 530, 3523, 3880, 0, 3757.67, 2080.25, 151.914, 3.0616, 300, 1, 2), +(25780, 20340, 530, 3523, 3880, 0, 3830.72, 2152.55, 145.842, 4.57919, 300, 1, 5), +(25781, 20340, 530, 3523, 3880, 0, 3845.32, 2111.13, 148.712, 3.38892, 300, 2, 0), +(25782, 20340, 530, 3523, 3880, 0, 3864.73, 2158.55, 139.53, 5.98851, 300, 1, 5), +(25783, 20340, 530, 3523, 3880, 0, 3883.87, 2131.02, 133.884, 5.14029, 300, 1, 5), +(25784, 20340, 530, 3523, 3880, 0, 3873.85, 2104.63, 133.388, 4.74834, 300, 2, 0), +(25785, 20340, 530, 3523, 3880, 0, 3919.83, 2087.85, 133.488, 2.46537, 300, 1, 5), +(25786, 20340, 530, 3523, 3880, 0, 3895.68, 2034.48, 148.256, 3.45105, 300, 1, 5), +(25787, 20340, 530, 3523, 3880, 0, 3909.46, 2090.17, 155.839, 2.58317, 300, 1, 5), +(25788, 20340, 530, 3523, 3880, 0, 3927.87, 2118.67, 159.924, 4.58354, 300, 2, 0); + +DELETE FROM `creature_addon` WHERE (`guid` IN (25774, 25777, 25781, 25784, 25788)); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(25774, 257740, 0, 0, 0, 0, 0, NULL), +(25777, 257770, 0, 0, 0, 0, 0, NULL), +(25781, 257810, 0, 0, 0, 0, 0, NULL), +(25784, 257840, 0, 0, 0, 0, 0, NULL), +(25788, 257880, 0, 0, 0, 0, 0, NULL); + +DELETE FROM `waypoint_data` WHERE `id` IN (257740, 257770, 257810, 257840, 257880); +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`) VALUES +(257740, 1, 3828.6, 2052.43, 146.299), +(257740, 2, 3814.57, 2068.55, 148.037), +(257740, 3, 3803.64, 2075.73, 148.999), +(257740, 4, 3793.57, 2076.63, 152.807), +(257740, 5, 3772.9, 2078.11, 154.741), +(257740, 6, 3793.79, 2077.36, 152.872), +(257740, 7, 3806.68, 2075.38, 148.988), +(257740, 8, 3817.08, 2066.81, 147.837), +(257740, 9, 3829.58, 2051.22, 145.945), +(257740, 10, 3837.99, 2045.38, 144.981), +(257740, 11, 3844.06, 2036.32, 143.92), +(257740, 12, 3853.07, 2030.52, 142.777), +(257740, 13, 3865.79, 2024.48, 144.208), +(257740, 14, 3851.93, 2030.9, 142.805), +(257740, 15, 3844.37, 2036.31, 143.849), +(257740, 16, 3838.85, 2044.04, 144.628), +(257770, 1, 3708.42, 2110.91, 152.714), +(257770, 2, 3718.47, 2112.17, 150.762), +(257770, 3, 3738.52, 2109.59, 148.183), +(257770, 4, 3711.96, 2112.24, 152.367), +(257770, 5, 3702.12, 2107.95, 153.659), +(257770, 6, 3692.42, 2098.89, 155.214), +(257770, 7, 3686.26, 2093.03, 149.364), +(257770, 8, 3683.91, 2089.67, 152.259), +(257770, 9, 3688.53, 2083.23, 152.775), +(257770, 10, 3698.57, 2069.71, 150.483), +(257770, 11, 3715.1, 2062.27, 147.368), +(257770, 12, 3728.18, 2056.63, 144.842), +(257770, 13, 3740.76, 2052.12, 146.617), +(257770, 14, 3756.8, 2056.43, 150.487), +(257770, 15, 3741.21, 2052.22, 146.648), +(257770, 16, 3727.44, 2056.94, 144.813), +(257770, 17, 3698.21, 2070.22, 150.638), +(257770, 18, 3689.34, 2085.61, 152.047), +(257770, 19, 3687.46, 2092.86, 149.402), +(257770, 20, 3690.78, 2097.36, 154.156), +(257770, 21, 3700.04, 2104.35, 154.194), +(257810, 1, 3832.22, 2107.48, 149.717), +(257810, 2, 3825.75, 2105.58, 151.003), +(257810, 3, 3820.36, 2104.75, 148.444), +(257810, 4, 3811.88, 2098.79, 147.848), +(257810, 5, 3804.56, 2091.55, 149.842), +(257810, 6, 3813.68, 2099.89, 147.724), +(257810, 7, 3820.93, 2105.03, 148.563), +(257810, 8, 3825.93, 2106.17, 151.103), +(257810, 9, 3832.41, 2107.12, 149.743), +(257810, 10, 3843.08, 2112.63, 148.908), +(257810, 11, 3843.73, 2122.31, 147.232), +(257810, 12, 3839.65, 2131.35, 146.628), +(257810, 13, 3837.69, 2138.62, 145.446), +(257810, 14, 3832.25, 2154.89, 145.916), +(257810, 15, 3838.13, 2137.13, 145.727), +(257810, 16, 3842.26, 2122.59, 147.082), +(257810, 17, 3846.68, 2115.09, 148.459), +(257810, 18, 3855.48, 2114.4, 147.42), +(257810, 19, 3870.42, 2114.12, 147.612), +(257810, 20, 3885.1, 2109.86, 149.593), +(257810, 21, 3893.09, 2104.7, 152.478), +(257810, 22, 3903.74, 2097.1, 154.744), +(257810, 23, 3895.22, 2104.42, 153.216), +(257810, 24, 3883.14, 2110.8, 149.206), +(257810, 25, 3867.52, 2114.77, 147.194), +(257810, 26, 3852.24, 2113.81, 147.649), +(257810, 27, 3846.62, 2115.55, 148.453), +(257810, 28, 3840.54, 2128.64, 146.783), +(257810, 29, 3837.58, 2140.16, 145.256), +(257810, 30, 3832.01, 2155.39, 145.949), +(257810, 31, 3837.48, 2140.4, 145.27), +(257840, 1, 3874.85, 2092.38, 131.986), +(257840, 2, 3881.79, 2076.72, 132.069), +(257840, 3, 3876.13, 2088.46, 131.757), +(257840, 4, 3873.89, 2102.41, 132.905), +(257840, 5, 3875.56, 2109.94, 135.03), +(257840, 6, 3879.99, 2120.42, 133.436), +(257840, 7, 3882.52, 2130.11, 133.948), +(257840, 8, 3877.94, 2139.1, 135.257), +(257840, 9, 3876.27, 2145.36, 139.053), +(257840, 10, 3874.56, 2152.62, 138.963), +(257840, 11, 3867.19, 2159.01, 139.152), +(257840, 12, 3857.43, 2157.18, 140.557), +(257840, 13, 3846.26, 2156.16, 141.191), +(257840, 14, 3842.13, 2158.58, 141.856), +(257840, 15, 3848.25, 2155.62, 140.979), +(257840, 16, 3858.78, 2157.24, 140.533), +(257840, 17, 3872.4, 2155.03, 138.92), +(257840, 18, 3875.87, 2150.28, 139.98), +(257840, 19, 3876.41, 2145.97, 139.209), +(257840, 20, 3878.13, 2140.38, 135.46), +(257840, 21, 3882.97, 2129.62, 133.867), +(257840, 22, 3880.17, 2118.79, 133.545), +(257840, 23, 3875.72, 2110.03, 134.98), +(257840, 24, 3874.23, 2103.02, 132.96), +(257880, 1, 3923.03, 2102, 158.719), +(257880, 2, 3918.22, 2094.92, 157.148), +(257880, 3, 3909.27, 2086.84, 156.194), +(257880, 4, 3908.21, 2079.6, 153.654), +(257880, 5, 3907.09, 2069.95, 152.617), +(257880, 6, 3906.22, 2058.27, 150.862), +(257880, 7, 3901.95, 2047.35, 149.152), +(257880, 8, 3907.01, 2060.82, 151.077), +(257880, 9, 3907.93, 2080.42, 153.756), +(257880, 10, 3909.4, 2086.92, 156.191), +(257880, 11, 3913.55, 2091.18, 155.927), +(257880, 12, 3920.32, 2096.83, 157.939), +(257880, 13, 3926.47, 2109.47, 159.1), +(257880, 14, 3927.97, 2121.86, 160.375), +(257880, 15, 3930.43, 2129, 160.119), +(257880, 16, 3940.05, 2136.96, 160.067), +(257880, 17, 3952.66, 2135.78, 161.632), +(257880, 18, 3957.72, 2133.09, 162.299), +(257880, 19, 3946.18, 2137.7, 160.791), +(257880, 20, 3936.69, 2136.25, 160.133), +(257880, 21, 3928.27, 2125.16, 160.584), +(257880, 22, 3927.47, 2118.3, 159.805); + +UPDATE `creature_template_addon` SET `auras` = '31261' WHERE (`entry` = 20561); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=20561 AND `source_type`=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`, `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 +(20561, 0, 0, 1, 8, 0, 100, 0, 35372, 0, 0, 0, 0, 33, 20561, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Withered Corpse - On Spellhit \'Protectorate Igniter\' - Quest Credit \'The Flesh Lies...\'\''), +(20561, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 11, 35374, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Withered Corpse - On Spellhit \'Protectorate Igniter\' - Summon Gameobject \'Charred Remains\''), +(20561, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Withered Corpse - On Spellhit \'Protectorate Igniter\' - Kill Target'), +(20561, 0, 3, 4, 10, 0, 100, 1, 0, 4, 0, 0, 1, 11, 35309, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Withered Corpse - Within 0-4 Range Out of Combat LoS - Cast \'Bloody Explosion\''), +(20561, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 36, 20335, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Withered Corpse - Within 0-4 Range Out of Combat LoS - Update Template To \'Parasitic Fleshbeast\''), +(20561, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 28, 31261, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Withered Corpse - Within 0-4 Range Out of Combat LoS - Remove Aura \'Permanent Feign Death (Root)\' (No Repeat)'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 2056100);