mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
fix(Scripts/Karazhan) Nightbane take off phase handling (#18934)
* nightbane fly skip ground phase use conditional schedule takeoff instead invincibility fix and timing no need to delay ScheduleGround * (WIP) cursed boss new inro lands attack flag is not removed.. cant attack :) * fix intro, refactor fly to air, handle waypoints, air facing, urn,... * add PassiveAI header * revert removal of helper target on roof
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
--
|
||||
-- FORCE_GOSSIP
|
||||
UPDATE `creature_template` SET `detection_range` = 40, `type_flags` = `type_flags` | 134217728, `movementId` = 1988 WHERE `entry` = 17225;
|
||||
|
||||
-- Intro
|
||||
DELETE FROM `waypoint_data` WHERE `id` = 172250;
|
||||
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
|
||||
(172250, 1, -11105.76, -1875.8998, 158.97804, NULL, 0, 2, 0, 100, 0),
|
||||
(172250, 2, -11175.097, -1857.2238, 101.00588, NULL, 0, 2, 0, 100, 0),
|
||||
(172250, 3, -11296.927, -1764.5311, 101.00588, NULL, 0, 2, 0, 100, 0),
|
||||
(172250, 4, -11258.901, -1722.3717, 101.00588, NULL, 0, 2, 0, 100, 0),
|
||||
(172250, 5, -11176.764, -1809.5985, 101.00588, NULL, 0, 2, 0, 100, 0),
|
||||
(172250, 6, -11191.107, -1889.3965, 107.89479, NULL, 0, 2, 0, 100, 0),
|
||||
(172250, 7, -11152.18, -1863.318, 101.00588, NULL, 0, 2, 0, 100, 0),
|
||||
(172250, 8, -11130.677, -1891.4235, 107.89634, NULL, 0, 2, 0, 100, 0),
|
||||
(172250, 9, -11110.674, -1878.7712, 107.89686, NULL, 0, 2, 0, 100, 0);
|
||||
|
||||
-- Landing
|
||||
DELETE FROM `waypoint_data` WHERE `id` = 172251;
|
||||
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
|
||||
(172251, 1, -11117.731, -1941.2609, 127.17197, NUll, 0, 2, 0, 100, 0),
|
||||
(172251, 2, -11123.777, -1968.243, 125.92196, NUll, 0, 2, 0, 100, 0),
|
||||
(172251, 3, -11148.344, -1972.9801, 116.69972, NUll, 0, 2, 0, 100, 0),
|
||||
(172251, 4, -11161.62, -1945.7255, 103.08859, NUll, 0, 2, 0, 100, 0),
|
||||
(172251, 5, -11168.009, -1922.9045, 97.39415, NUll, 0, 2, 0, 100, 0),
|
||||
(172251, 6, -11162.231, -1900.3287, 94.72747, NUll, 0, 2, 0, 100, 0);
|
||||
|
||||
-- Nightbane helper target
|
||||
UPDATE `creature_template` SET `type_flags` = `type_flags` | 134217728, `movementId` = 1693, `ScriptName` = 'npc_nightbane_helper_target' WHERE `entry` = 17260;
|
||||
Reference in New Issue
Block a user