mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
fix(DB/Creature): Port Morcrush from Mangos (#15067)
This commit is contained in:
134
data/sql/updates/pending_db_world/rev_1676588846531594400.sql
Normal file
134
data/sql/updates/pending_db_world/rev_1676588846531594400.sql
Normal file
@@ -0,0 +1,134 @@
|
||||
--
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18690);
|
||||
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
|
||||
(18690, 0, 0, 0, 9, 0, 100, 0, 0, 5, 12000, 16000, 0, 11, 35238, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Morcrush - Within 0-5 Range - Cast \'War Stomp\''),
|
||||
(18690, 0, 1, 0, 2, 0, 100, 1, 0, 95, 0, 0, 0, 11, 38888, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Morcrush - Between 0-95% Health - Cast \'Serverside - Summon Morcrush Shardling\' (No Repeat)'),
|
||||
(18690, 0, 2, 0, 2, 0, 100, 1, 0, 65, 0, 0, 0, 11, 38889, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Morcrush - Between 0-65% Health - Cast \'Serverside - Summon Morcrush Shardling\' (No Repeat)'),
|
||||
(18690, 0, 3, 0, 2, 0, 100, 1, 0, 30, 0, 0, 0, 11, 38890, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Morcrush - Between 0-30% Health - Cast \'Serverside - Summon Morcrush Shardling\' (No Repeat)');
|
||||
|
||||
DELETE FROM `creature` WHERE `id1`=18690;
|
||||
INSERT INTO `creature` (`guid`, `id1`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `MovementType`) VALUES
|
||||
(24904, 18690, 530, 1915.66, 5150.16, 265.69, 1.07605, 32400, 2),
|
||||
(24905, 18690, 530, 3714.5, 5483.36, -4.96681, 2.55039, 32400, 2),
|
||||
(24906, 18690, 530, 3349.55, 4597.5, 222.237, 5.97708, 32400, 2),
|
||||
(24907, 18690, 530, 2819, 5016.11, 268.504, 1.80425, 32400, 2);
|
||||
|
||||
DELETE FROM `creature_addon` WHERE (`guid` IN (24904, 24905, 24906, 24907));
|
||||
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
|
||||
(24904, 249040, 0, 0, 0, 0, 0, ''),
|
||||
(24905, 249050, 0, 0, 0, 0, 0, ''),
|
||||
(24906, 249060, 0, 0, 0, 0, 0, ''),
|
||||
(24907, 249070, 0, 0, 0, 0, 0, '');
|
||||
|
||||
DELETE FROM `waypoint_data` WHERE `id` IN (249040, 249050, 249060, 249070);
|
||||
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`) VALUES
|
||||
(249040, 1, 1915.66, 5150.16, 265.601),
|
||||
(249040, 2, 1995.57, 5118.89, 265.19),
|
||||
(249040, 3, 2074.8, 5113.67, 265.101),
|
||||
(249040, 4, 2106.68, 5139.9, 265.215),
|
||||
(249040, 5, 2082.52, 5179.31, 265.014),
|
||||
(249040, 6, 2004.78, 5182.66, 265.296),
|
||||
(249040, 7, 1829.95, 5171.58, 265.936),
|
||||
(249040, 8, 1790.15, 5150.72, 265.471),
|
||||
(249040, 9, 1727.85, 5114.07, 264.996),
|
||||
(249040, 10, 1772.58, 5093.62, 265.549),
|
||||
(249040, 11, 1828.43, 5091.6, 265.319),
|
||||
(249040, 12, 1878.12, 5100.98, 265.317),
|
||||
(249040, 13, 1915.66, 5150.16, 265.601),
|
||||
(249050, 1, 3714.5, 5483.36, -4.96877),
|
||||
(249050, 2, 3680.59, 5486.01, -19.131),
|
||||
(249050, 3, 3630.06, 5478.73, -19.6109),
|
||||
(249050, 4, 3601.14, 5476.87, -5.91752),
|
||||
(249050, 5, 3534.92, 5540.57, -0.924066),
|
||||
(249050, 6, 3484.9, 5619.4, -2.16304),
|
||||
(249050, 7, 3508.3, 5633.92, -4.94206),
|
||||
(249050, 8, 3546.86, 5627.75, -3.89208),
|
||||
(249050, 9, 3606.84, 5601.99, -11.9971),
|
||||
(249050, 10, 3647.06, 5597.63, -13.9664),
|
||||
(249050, 11, 3675.07, 5504.26, -18.7066),
|
||||
(249050, 12, 3714.5, 5483.36, -4.96877),
|
||||
(249060, 1, 3349.55, 4597.5, 222.237),
|
||||
(249060, 2, 3354, 4591.42, 222.27),
|
||||
(249060, 3, 3366.39, 4589.04, 218.593),
|
||||
(249060, 4, 3395.49, 4595.78, 208.17),
|
||||
(249060, 5, 3437.07, 4596.08, 202.79),
|
||||
(249060, 6, 3456.67, 4595.99, 206.177),
|
||||
(249060, 7, 3486.16, 4607.78, 211.968),
|
||||
(249060, 8, 3522.15, 4613.45, 218.701),
|
||||
(249060, 9, 3568.34, 4645.82, 229.211),
|
||||
(249060, 10, 3579.86, 4692.75, 234.727),
|
||||
(249060, 11, 3577.91, 4781.2, 243.088),
|
||||
(249060, 12, 3537.75, 4795.87, 247.217),
|
||||
(249060, 13, 3508.11, 4789.68, 244.215),
|
||||
(249060, 14, 3458.1, 4806.37, 259.514),
|
||||
(249060, 15, 3416.01, 4867.56, 266.052),
|
||||
(249060, 16, 3403.72, 4943.39, 263.659),
|
||||
(249060, 17, 3351.51, 4953.37, 264.87),
|
||||
(249060, 18, 3329.46, 5023.23, 258.801),
|
||||
(249060, 19, 3312.49, 5076.67, 254.702),
|
||||
(249060, 20, 3316.77, 5117.35, 248.759),
|
||||
(249060, 21, 3290.66, 5140.98, 246.99),
|
||||
(249060, 22, 3256.78, 5143.38, 258.418),
|
||||
(249060, 23, 3161.24, 5141.15, 266.316),
|
||||
(249060, 24, 3256.78, 5143.38, 258.418),
|
||||
(249060, 25, 3290.66, 5140.98, 246.99),
|
||||
(249060, 26, 3316.77, 5117.35, 248.759),
|
||||
(249060, 27, 3312.49, 5076.67, 254.702),
|
||||
(249060, 28, 3329.46, 5023.23, 258.801),
|
||||
(249060, 29, 3351.51, 4953.37, 264.87),
|
||||
(249060, 30, 3403.72, 4943.39, 263.659),
|
||||
(249060, 31, 3416.01, 4867.56, 266.052),
|
||||
(249060, 32, 3458.1, 4806.37, 259.514),
|
||||
(249060, 33, 3508.11, 4789.68, 244.215),
|
||||
(249060, 34, 3537.75, 4795.87, 247.217),
|
||||
(249060, 35, 3577.91, 4781.2, 243.088),
|
||||
(249060, 36, 3579.86, 4692.75, 234.727),
|
||||
(249060, 37, 3568.34, 4645.82, 229.211),
|
||||
(249060, 38, 3522.15, 4613.45, 218.701),
|
||||
(249060, 39, 3486.16, 4607.78, 211.968),
|
||||
(249060, 40, 3456.67, 4595.99, 206.177),
|
||||
(249060, 41, 3437.07, 4596.08, 202.79),
|
||||
(249060, 42, 3395.49, 4595.78, 208.17),
|
||||
(249060, 43, 3366.39, 4589.04, 218.593),
|
||||
(249060, 44, 3354, 4591.42, 222.27),
|
||||
(249070, 1, 2819, 5016.11, 268.504),
|
||||
(249070, 2, 2815.2, 5043.9, 266.924),
|
||||
(249070, 3, 2771.48, 5055.91, 269.476),
|
||||
(249070, 4, 2747.78, 5079.35, 268.384),
|
||||
(249070, 5, 2738.04, 5102.07, 269.113),
|
||||
(249070, 6, 2748.81, 5132.97, 264.752),
|
||||
(249070, 7, 2703.21, 5171.69, 265.133),
|
||||
(249070, 8, 2669.95, 5189.12, 264.859),
|
||||
(249070, 9, 2636.04, 5225.66, 265.972),
|
||||
(249070, 10, 2620.75, 5243.66, 266.594),
|
||||
(249070, 11, 2612.78, 5264.99, 270.87),
|
||||
(249070, 12, 2601.57, 5300.97, 274.672),
|
||||
(249070, 13, 2588.37, 5326.82, 268.416),
|
||||
(249070, 14, 2563.24, 5375.95, 271.407),
|
||||
(249070, 15, 2536.07, 5404.85, 266.187),
|
||||
(249070, 16, 2491.2, 5469.08, 263.939),
|
||||
(249070, 17, 2536.07, 5404.85, 266.187),
|
||||
(249070, 18, 2563.24, 5375.95, 271.407),
|
||||
(249070, 19, 2588.37, 5326.82, 268.416),
|
||||
(249070, 20, 2601.57, 5300.97, 274.672),
|
||||
(249070, 21, 2612.78, 5264.99, 270.87),
|
||||
(249070, 22, 2620.75, 5243.66, 266.594),
|
||||
(249070, 23, 2636.04, 5225.66, 265.972),
|
||||
(249070, 24, 2669.95, 5189.12, 264.859),
|
||||
(249070, 25, 2703.21, 5171.69, 265.133),
|
||||
(249070, 26, 2748.81, 5132.97, 264.752),
|
||||
(249070, 27, 2738.04, 5102.07, 269.113),
|
||||
(249070, 28, 2747.78, 5079.35, 268.384),
|
||||
(249070, 29, 2771.48, 5055.91, 269.476),
|
||||
(249070, 30, 2815.2, 5043.9, 266.924),
|
||||
(249070, 31, 2819, 5016.11, 268.504);
|
||||
|
||||
DELETE FROM `pool_template` WHERE `entry`=1112 AND `description`='Morcrush (18690)';
|
||||
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES (1112, 1, 'Morcrush (18690)');
|
||||
|
||||
DELETE FROM `pool_creature` WHERE `pool_entry`=1112 AND `description`='Morcrush (18690)';
|
||||
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES
|
||||
(24904, 1112, 0, 'Morcrush (18690)'),
|
||||
(24905, 1112, 0, 'Morcrush (18690)'),
|
||||
(24906, 1112, 0, 'Morcrush (18690)'),
|
||||
(24907, 1112, 0, 'Morcrush (18690)');
|
||||
Reference in New Issue
Block a user