mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
fix(Scripts/ZulFarrak): pyramid event fixes (#27731)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
-- Zul'Farrak: TBC Classic Anniversary capture, build 69795.
|
||||
-- Observed gossip pauses vary from 2.4 to 4.1 seconds; 3 seconds approximates them without disabling gossip.
|
||||
DELETE FROM `creature_template_movement` WHERE `CreatureId` IN (7604, 7607);
|
||||
INSERT INTO `creature_template_movement` (`CreatureId`, `InteractionPauseTimer`) VALUES
|
||||
(7604, 3000),
|
||||
(7607, 3000);
|
||||
|
||||
-- Weegli's barrel appears at 17:02:54.032; it and the door change to state 2 about two seconds later.
|
||||
-- Record door completion separately from Bly's death so it survives instance reloads.
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = 141612 AND `source_type` = 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`,
|
||||
`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`,
|
||||
`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`,
|
||||
`comment`) VALUES
|
||||
(141612, 1, 0, 1, 60, 0, 100, 257, 2000, 2000, 0, 0, 118, 2, 0, 0, 0, 0, 0, 20, 146084, 30, 0, 0, 0, 0, 0,
|
||||
'Weegli\'s Armed Barrel - On Update - Open End Door'),
|
||||
(141612, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 118, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
|
||||
'Weegli\'s Armed Barrel - On Link - Set Exploded State'),
|
||||
(141612, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 34, 2, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
|
||||
'Weegli\'s Armed Barrel - On Link - Set DATA_END_DOOR DONE');
|
||||
@@ -0,0 +1,19 @@
|
||||
-- Weegli Blastfuse (GUID 81553): escape after the end door explodes.
|
||||
-- TBC Classic Anniversary build 69795; ends at the last recorded destination.
|
||||
DELETE FROM `waypoint_data` WHERE `id` = 815530;
|
||||
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `velocity`, `delay`, `smoothTransition`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
|
||||
(815530, 1, 1885.4933, 1118.2045, 9.171623, NULL, 0, 0, 0, 1, 0, 100, 0),
|
||||
(815530, 2, 1866.796, 1083.2489, 8.890825, NULL, 0, 0, 0, 1, 0, 100, 0),
|
||||
(815530, 3, 1852.6313, 1057.8712, 8.876791, NULL, 0, 0, 0, 1, 0, 100, 0),
|
||||
(815530, 4, 1859.7643, 1031.1738, 8.876792, NULL, 0, 0, 0, 1, 0, 100, 0),
|
||||
(815530, 5, 1875.8618, 1016.4999, 8.876792, NULL, 0, 0, 0, 1, 0, 100, 0),
|
||||
(815530, 6, 1878.0048, 996.3937, 8.877529, NULL, 0, 0, 0, 1, 0, 100, 0),
|
||||
(815530, 7, 1864.4512, 975.57117, 9.248044, NULL, 0, 0, 0, 1, 0, 100, 0),
|
||||
(815530, 8, 1850.092, 954.7588, 8.881894, NULL, 0, 0, 0, 1, 0, 100, 0),
|
||||
(815530, 9, 1831.214, 924.3683, 8.881894, NULL, 0, 0, 0, 1, 0, 100, 0),
|
||||
(815530, 10, 1821.0056, 908.9256, 8.889058, NULL, 0, 0, 0, 1, 0, 100, 0),
|
||||
(815530, 11, 1789.5393, 878.99457, 8.877297, NULL, 0, 0, 0, 1, 0, 100, 0),
|
||||
(815530, 12, 1769.9774, 857.2041, 8.877438, NULL, 0, 0, 0, 1, 0, 100, 0),
|
||||
(815530, 13, 1748.5785, 834.42944, 8.876786, NULL, 0, 0, 0, 1, 0, 100, 0),
|
||||
(815530, 14, 1718.3058, 817.5149, 8.876786, NULL, 0, 0, 0, 1, 0, 100, 0),
|
||||
(815530, 15, 1696.7391, 805.065, 8.955191, NULL, 0, 0, 0, 1, 0, 100, 0);
|
||||
Reference in New Issue
Block a user