fix(DB/Script): Move Death Knight Initiate script on SAI and implement assault feature. (#25077)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
82
data/sql/updates/pending_db_world/rev_1773159064.sql
Normal file
82
data/sql/updates/pending_db_world/rev_1773159064.sql
Normal file
@@ -0,0 +1,82 @@
|
||||
|
||||
-- Update Spawn Time (check from retail)
|
||||
UPDATE `creature` SET `spawntimesecs` = 240 WHERE (`id1` = 28406);
|
||||
|
||||
-- Set New SAI for DK Initiates (based on sniffs).
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 28406;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 28406);
|
||||
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
|
||||
(28406, 0, 0, 1, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Set Event Phase 1'),
|
||||
(28406, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 19, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Remove Flags Immune To Players & Immune To NPC\'s'),
|
||||
(28406, 0, 2, 3, 62, 1, 100, 0, 9765, 0, 0, 0, 0, 0, 64, 12, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Gossip Option 0 Selected - Store Targetlist (Phase 1)'),
|
||||
(28406, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Gossip Option 0 Selected - Remove Npc Flags Gossip (Phase 1)'),
|
||||
(28406, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Gossip Option 0 Selected - Close Gossip (Phase 1)'),
|
||||
(28406, 0, 5, 6, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Gossip Option 0 Selected - Set Orientation Stored (Phase 1)'),
|
||||
(28406, 0, 6, 7, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 52996, 2, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Gossip Option 0 Selected - Cast \'Duel!\' (Phase 1)'),
|
||||
(28406, 0, 7, 0, 61, 1, 100, 0, 0, 0, 0, 0, 0, 0, 80, 2840600, 2, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Gossip Option 0 Selected - Run Script (Phase 1)'),
|
||||
(28406, 0, 8, 9, 2, 2, 100, 0, 0, 1, 500, 500, 0, 0, 18, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Between 0-1% Health - Set Flags Immune To Players & Immune To NPC\'s (Phase 2)'),
|
||||
(28406, 0, 9, 10, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 126, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Between 0-1% Health - Remove All Gameobjects (Phase 2)'),
|
||||
(28406, 0, 10, 11, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 2, 2082, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Between 0-1% Health - Set Faction 2082 (Phase 2)'),
|
||||
(28406, 0, 11, 12, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 224, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Between 0-1% Health - Stop Attack (Phase 2)'),
|
||||
(28406, 0, 12, 13, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 224, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Between 0-1% Health - Stop Attack (Phase 2)'),
|
||||
(28406, 0, 13, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 80, 2840601, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Between 0-1% Health - Run Script (Phase 2)'),
|
||||
(28406, 0, 14, 15, 5, 2, 100, 0, 0, 0, 1, 0, 0, 0, 18, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Killed Unit - Set Flags Immune To Players & Immune To NPC\'s (Phase 2)'),
|
||||
(28406, 0, 15, 16, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 126, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Killed Unit - Remove All Gameobjects (Phase 2)'),
|
||||
(28406, 0, 16, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 80, 2840602, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Killed Unit - Run Script (Phase 2)'),
|
||||
(28406, 0, 17, 18, 104, 2, 100, 0, 1, 191126, 1, 20, 500, 0, 18, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Less Than 1 Units in Range - Set Flags Immune To Players & Immune To NPC\'s (Phase 2)'),
|
||||
(28406, 0, 18, 19, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 126, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Less Than 1 Units in Range - Remove All Gameobjects (Phase 2)'),
|
||||
(28406, 0, 19, 20, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 224, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Less Than 1 Units in Range - Stop Attack (Phase 2)'),
|
||||
(28406, 0, 20, 21, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 224, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Less Than 1 Units in Range - Stop Attack (Phase 2)'),
|
||||
(28406, 0, 21, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 80, 2840611, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Less Than 1 Units in Range - Run Script (Phase 2)'),
|
||||
(28406, 0, 22, 0, 4, 1, 100, 0, 0, 0, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Aggro - Remove Npc Flags Gossip (Phase 1)'),
|
||||
(28406, 0, 23, 0, 7, 1, 100, 0, 0, 0, 0, 0, 0, 0, 82, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Evade - Add Npc Flags Gossip (Phase 1)'),
|
||||
(28406, 0, 24, 0, 0, 0, 100, 0, 1000, 2000, 18000, 22000, 0, 0, 11, 52372, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - In Combat - Cast \'Icy Touch\''),
|
||||
(28406, 0, 25, 0, 0, 0, 100, 0, 500, 1500, 10000, 14000, 0, 0, 11, 52373, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - In Combat - Cast \'Plague Strike\''),
|
||||
(28406, 0, 26, 0, 0, 0, 100, 0, 3000, 4000, 4000, 6000, 0, 0, 11, 52374, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - In Combat - Cast \'Blood Strike\''),
|
||||
(28406, 0, 27, 0, 0, 0, 100, 0, 3000, 4000, 4000, 6000, 0, 0, 11, 52375, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - In Combat - Cast \'Death Coil\'');
|
||||
|
||||
-- Set ActionLists.
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9) AND (`entryorguid` IN (2840600, 2840601, 2840602, 2840611));
|
||||
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
|
||||
(2840600, 9, 0, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 11, 52991, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Cast \'Duel Flag\''),
|
||||
(2840600, 9, 1, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 11, 54238, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Cast \'Duel Aura Check 01\''),
|
||||
(2840600, 9, 2, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Say Line 0'),
|
||||
(2840600, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 5, 397, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Play Emote 397'),
|
||||
(2840600, 9, 4, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Say Line 1'),
|
||||
(2840600, 9, 5, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Say Line 2'),
|
||||
(2840600, 9, 6, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Say Line 3'),
|
||||
(2840600, 9, 7, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Say Line 4'),
|
||||
(2840600, 9, 8, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Set Event Phase 2'),
|
||||
(2840600, 9, 9, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 42, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Set Invincibility Hp 1%'),
|
||||
(2840600, 9, 10, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Disable Evade'),
|
||||
(2840600, 9, 11, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 2, 14, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Set Faction 14'),
|
||||
(2840600, 9, 12, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Start Attacking'),
|
||||
(2840601, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 22, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Set Event Phase 3'),
|
||||
(2840601, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 52994, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Cast \'Duel Victory\''),
|
||||
(2840601, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 28, 52372, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Remove Aura \'Icy Touch\''),
|
||||
(2840601, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 28, 52373, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Remove Aura \'Plague Strike\''),
|
||||
(2840601, 9, 4, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 5, 20, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Play Emote 20'),
|
||||
(2840601, 9, 5, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 0, 28, 54238, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Remove Aura \'Duel Aura Check 01\''),
|
||||
(2840601, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 28, 54238, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Remove Aura \'Duel Aura Check 01\''),
|
||||
(2840601, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Despawn In 1000 ms'),
|
||||
(2840602, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 22, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Set Event Phase 4'),
|
||||
(2840602, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Play Emote 71'),
|
||||
(2840602, 9, 2, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 0, 0, 27, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Stop Combat'),
|
||||
(2840602, 9, 3, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 28, 54238, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Remove Aura \'Duel Aura Check 01\''),
|
||||
(2840602, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 28, 54238, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Remove Aura \'Duel Aura Check 01\''),
|
||||
(2840602, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Despawn In 1000 ms'),
|
||||
(2840611, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 22, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Set Event Phase 5'),
|
||||
(2840611, 9, 1, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 28, 52372, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Remove Aura \'Icy Touch\''),
|
||||
(2840611, 9, 2, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 28, 52373, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Remove Aura \'Plague Strike\''),
|
||||
(2840611, 9, 3, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Play Emote 71'),
|
||||
(2840611, 9, 4, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 0, 0, 27, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Stop Combat'),
|
||||
(2840611, 9, 5, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 28, 54238, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Remove Aura \'Duel Aura Check 01\''),
|
||||
(2840611, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 28, 54238, 0, 0, 0, 0, 0, 12, 12, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Remove Aura \'Duel Aura Check 01\''),
|
||||
(2840611, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Despawn In 1000 ms');
|
||||
|
||||
-- Set Condition.
|
||||
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15) AND (`SourceGroup` = 9765) AND (`SourceEntry` = 0) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` IN (1, 47)) AND (`ConditionTarget` = 0) AND (`ConditionValue1` IN (12733, 54238)) AND (`ConditionValue2` IN (0, 8)) AND (`ConditionValue3` = 0);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(15, 9765, 0, 0, 0, 47, 0, 12733, 8, 0, 0, 0, 0, '', 'Death Knight Initiate challenge option only available if the player has Death\'s Challenge quest incomplete.'),
|
||||
(15, 9765, 0, 0, 0, 1, 0, 54238, 0, 0, 1, 0, 0, '', 'Death Knight Initiate challenge option only available if the player is not in duel.');
|
||||
288
data/sql/updates/pending_db_world/rev_1773347399.sql
Normal file
288
data/sql/updates/pending_db_world/rev_1773347399.sql
Normal file
@@ -0,0 +1,288 @@
|
||||
-- Set Fly Waypoints.
|
||||
DELETE FROM `waypoints` WHERE `entry` IN (2840600, 2840601);
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `point_comment`) VALUES
|
||||
(2840600, 1, 2355.1301, -5716.9517, 395.3793, NULL, 'DK Initiate Flight'),
|
||||
(2840600, 2, 2384.2502, -5767.656, 325.76822, NULL, 'DK Initiate Flight'),
|
||||
(2840600, 3, 2363.5364, -5846.2837, 272.29614, NULL, 'DK Initiate Flight'),
|
||||
(2840600, 4, 2292.841, -5772.4272, 219.90724, NULL, 'DK Initiate Flight'),
|
||||
(2840600, 5, 2314.2131, -5691.1753, 189.24059, NULL, 'DK Initiate Flight'),
|
||||
(2840600, 6, 2396.6458, -5692.4155, 171.18498, NULL, 'DK Initiate Flight'),
|
||||
(2840600, 7, 2407.234, -5730.336, 153.96295, NULL, 'DK Initiate Flight'),
|
||||
(2840601, 1, 2317.3823, -5691.645, 397.65698, NULL, 'DK Initiate Flight'),
|
||||
(2840601, 2, 2326.9119, -5757.448, 349.26807, NULL, 'DK Initiate Flight'),
|
||||
(2840601, 3, 2393.6243, -5793.9287, 280.01816, NULL, 'DK Initiate Flight'),
|
||||
(2840601, 4, 2412.465, -5744.0044, 213.01826, NULL, 'DK Initiate Flight'),
|
||||
(2840601, 5, 2370.0295, -5724.7593, 190.71277, NULL, 'DK Initiate Flight'),
|
||||
(2840601, 6, 2376.4602, -5775.706, 188.74048, NULL, 'DK Initiate Flight'),
|
||||
(2840601, 7, 2394.3223, -5787.3916, 177.6294, NULL, 'DK Initiate Flight'),
|
||||
(2840601, 8, 2410.993, -5733.013, 154.43495, NULL, 'DK Initiate Flight');
|
||||
|
||||
-- Set Ground Waypoints.
|
||||
DELETE FROM `waypoint_data` WHERE (`id` IN (2840610, 2840611, 2840612, 2840620, 2840621, 2840630, 2840631));
|
||||
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
|
||||
(2840610, 1, 2396.3594, -5762.0146, 153.83284, NULL, 0, 1, 0, 100, 0),
|
||||
(2840610, 2, 2417.215, -5773.7695, 149.0116, NULL, 0, 1, 0, 100, 0),
|
||||
(2840610, 3, 2428.8337, -5809.222, 126.16998, NULL, 0, 1, 0, 100, 0),
|
||||
(2840610, 4, 2430.2812, -5847.2227, 109.86838, NULL, 0, 1, 0, 100, 0),
|
||||
(2840610, 5, 2426.329, -5864.2676, 105.83229, NULL, 0, 1, 0, 100, 0),
|
||||
(2840610, 6, 2436.2336, -5894.741, 104.70234, NULL, 0, 1, 0, 100, 0),
|
||||
(2840610, 7, 2442.2207, -5906.7065, 102.4359, NULL, 0, 1, 0, 100, 0),
|
||||
(2840610, 8, 2441.4175, -5925.4683, 97.91451, NULL, 0, 1, 0, 100, 0),
|
||||
(2840610, 9, 2429.3743, -5933.1914, 95.70604, NULL, 0, 1, 0, 100, 0),
|
||||
(2840611, 1, 2414.2473, -5763.8037, 151.95836, NULL, 0, 1, 0, 100, 0),
|
||||
(2840611, 2, 2427.961, -5800.2734, 132.4624, NULL, 0, 1, 0, 100, 0),
|
||||
(2840611, 3, 2431.829, -5823.3, 118.80568, NULL, 0, 1, 0, 100, 0),
|
||||
(2840611, 4, 2409.3489, -5830.9873, 116.25203, NULL, 0, 1, 0, 100, 0),
|
||||
(2840611, 5, 2381.3557, -5858.118, 105.272766, NULL, 0, 1, 0, 100, 0),
|
||||
(2840611, 6, 2368.7595, -5875.6704, 104.70587, NULL, 0, 1, 0, 100, 0),
|
||||
(2840611, 7, 2319.1892, -5879.9663, 100.94663, NULL, 0, 1, 0, 100, 0),
|
||||
(2840611, 8, 2294.904, -5855.5728, 100.93404, NULL, 0, 1, 0, 100, 0),
|
||||
(2840611, 9, 2267.851, -5843.4087, 100.938416, NULL, 0, 1, 0, 100, 0),
|
||||
(2840612, 1, 2326.9846, -5730.169, 153.91982, NULL, 0, 1, 0, 100, 0),
|
||||
(2840612, 2, 2299.415, -5706.224, 153.92297, NULL, 0, 1, 0, 100, 0),
|
||||
(2840612, 3, 2292.2583, -5676.3657, 152.01935, NULL, 0, 1, 0, 100, 0),
|
||||
(2840612, 4, 2284.826, -5656.107, 145.56985, NULL, 0, 1, 0, 100, 0),
|
||||
(2840612, 5, 2254.9744, -5641.236, 137.59055, NULL, 0, 1, 0, 100, 0),
|
||||
(2840612, 6, 2209.8633, -5646.7837, 125.03103, NULL, 0, 1, 0, 100, 0),
|
||||
(2840612, 7, 2182.3438, -5666.0015, 115.082535, NULL, 0, 1, 0, 100, 0),
|
||||
(2840612, 8, 2142.4714, -5689.2847, 103.395744, NULL, 0, 1, 0, 100, 0),
|
||||
(2840612, 9, 2122.972, -5707.3623, 100.624054, NULL, 0, 1, 0, 100, 0),
|
||||
(2840620, 1, 2392.7878, -5743.2344, 153.92166, NULL, 0, 1, 0, 100, 0),
|
||||
(2840620, 2, 2421.263, -5780.2915, 145.80081, NULL, 0, 1, 0, 100, 0),
|
||||
(2840620, 3, 2431.4363, -5810.2563, 125.415665, NULL, 0, 1, 0, 100, 0),
|
||||
(2840620, 4, 2432.2761, -5847.015, 110.2796, NULL, 0, 1, 0, 100, 0),
|
||||
(2840620, 5, 2415.6353, -5867.583, 104.7897, NULL, 0, 1, 0, 100, 0),
|
||||
(2840621, 1, 2337.7246, -5682.063, 153.92099, NULL, 0, 1, 0, 100, 0),
|
||||
(2840621, 2, 2308.5073, -5654.1294, 150.16393, NULL, 0, 1, 0, 100, 0),
|
||||
(2840621, 3, 2283.538, -5643.8984, 144.65523, NULL, 0, 1, 0, 100, 0),
|
||||
(2840621, 4, 2241.0413, -5649.0376, 132.29729, NULL, 0, 1, 0, 100, 0),
|
||||
(2840621, 5, 2205.2805, -5662.788, 119.8618, NULL, 0, 1, 0, 100, 0),
|
||||
(2840621, 6, 2172.8545, -5689.8843, 108.48761, NULL, 0, 1, 0, 100, 0),
|
||||
(2840621, 7, 2145.2454, -5719.6895, 101.07521, NULL, 0, 1, 0, 100, 0),
|
||||
(2840630, 1, 2411.3826, -5761.422, 152.64651, NULL, 0, 1, 0, 100, 0),
|
||||
(2840630, 2, 2429.0247, -5806.424, 127.90521, NULL, 0, 1, 0, 100, 0),
|
||||
(2840630, 3, 2423.2722, -5832.074, 115.7254, NULL, 0, 1, 0, 100, 0),
|
||||
(2840630, 4, 2407.334, -5840.9683, 110.26818, NULL, 0, 1, 0, 100, 0),
|
||||
(2840630, 5, 2389.6382, -5869.033, 104.664276, NULL, 0, 1, 0, 100, 0),
|
||||
(2840630, 6, 2375.4265, -5892.999, 106.344055, NULL, 0, 1, 0, 100, 0),
|
||||
(2840630, 7, 2355.8215, -5911.0825, 105.915596, NULL, 0, 1, 0, 100, 0),
|
||||
(2840631, 1, 2303.6758, -5651.338, 148.65227, NULL, 0, 1, 0, 100, 0),
|
||||
(2840631, 2, 2243.797, -5645.573, 133.71475, NULL, 0, 1, 0, 100, 0),
|
||||
(2840631, 3, 2209.7087, -5659.135, 122.18359, NULL, 0, 1, 0, 100, 0),
|
||||
(2840631, 4, 2189.304, -5689.8066, 110.24161, NULL, 0, 1, 0, 100, 0),
|
||||
(2840631, 5, 2185.081, -5712.4023, 106.255844, NULL, 0, 1, 0, 100, 0),
|
||||
(2840631, 6, 2185.4175, -5740.1274, 102.15538, NULL, 0, 1, 0, 100, 0),
|
||||
(2840631, 7, 2205.348, -5771.876, 101.44276, NULL, 0, 1, 0, 100, 0);
|
||||
|
||||
-- Set Don't Override Flag
|
||||
UPDATE `creature_template` SET `flags_extra` = `flags_extra` |134217728 WHERE (`entry` = 28406);
|
||||
|
||||
-- Set Comments
|
||||
UPDATE `creature` SET `Comment` = 'Has Guid SAI' WHERE (`id1` = 28406) AND (`guid` IN (129500, 129501, 129502, 129503, 129520, 129529, 129530, 129531, 129532, 129546, 129547, 129556));
|
||||
|
||||
-- Set GUID SAI
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0) AND (`entryorguid` IN (-129500, -129501, -129502, -129503, -129520, -129529, -129530, -129531, -129532, -129546, -129547, -129556));
|
||||
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
|
||||
(-129500, 0, 28, 29, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Set Active On'),
|
||||
(-129500, 0, 29, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 69, 10, 0, 0, 2, 0, 0, 9, 29488, 0, 300, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Move To Creature in Range \'Scourge Gryphon\''),
|
||||
(-129500, 0, 30, 0, 34, 0, 100, 0, 8, 10, 0, 0, 0, 0, 87, 2840603, 2840604, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Reached Point 10 - Run Random Script'),
|
||||
(-129500, 0, 31, 33, 40, 0, 100, 0, 7, 2840600, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Run Speed to 1.14286'),
|
||||
(-129500, 0, 32, 33, 40, 0, 100, 0, 8, 2840601, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 8 of Path 2840601 Reached - Set Run Speed to 1.14286'),
|
||||
(-129500, 0, 33, 34, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Fly Off'),
|
||||
(-129500, 0, 34, 35, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Dismount'),
|
||||
(-129500, 0, 35, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 87, 2840605, 2840606, 2840607, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Run Random Script'),
|
||||
(-129500, 0, 36, 0, 34, 0, 100, 0, 8, 13, 0, 0, 0, 0, 80, 2840608, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 13 - Run Script'),
|
||||
(-129500, 0, 37, 0, 34, 0, 100, 0, 8, 14, 0, 0, 0, 0, 80, 2840609, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 14 - Run Script'),
|
||||
(-129500, 0, 38, 0, 34, 0, 100, 0, 8, 15, 0, 0, 0, 0, 80, 2840610, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 15 - Run Script'),
|
||||
(-129500, 0, 39, 0, 109, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Path 0 Finished - Despawn In 5000 ms'),
|
||||
(-129500, 0, 40, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Just Died - Despawn In 5000 ms'),
|
||||
(-129500, 0, 41, 0, 1, 0, 100, 0, 600000, 600000, 600000, 600000, 0, 0, 41, 0, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Out of Combat - Despawn Instant'),
|
||||
(-129501, 0, 28, 29, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Set Active On'),
|
||||
(-129501, 0, 29, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 69, 10, 0, 0, 2, 0, 0, 9, 29488, 0, 300, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Move To Creature in Range \'Scourge Gryphon\''),
|
||||
(-129501, 0, 30, 0, 34, 0, 100, 0, 8, 10, 0, 0, 0, 0, 87, 2840603, 2840604, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Reached Point 10 - Run Random Script'),
|
||||
(-129501, 0, 31, 33, 40, 0, 100, 0, 7, 2840600, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Run Speed to 1.14286'),
|
||||
(-129501, 0, 32, 33, 40, 0, 100, 0, 8, 2840601, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 8 of Path 2840601 Reached - Set Run Speed to 1.14286'),
|
||||
(-129501, 0, 33, 34, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Fly Off'),
|
||||
(-129501, 0, 34, 35, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Dismount'),
|
||||
(-129501, 0, 35, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 87, 2840605, 2840606, 2840607, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Run Random Script'),
|
||||
(-129501, 0, 36, 0, 34, 0, 100, 0, 8, 13, 0, 0, 0, 0, 80, 2840608, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 13 - Run Script'),
|
||||
(-129501, 0, 37, 0, 34, 0, 100, 0, 8, 14, 0, 0, 0, 0, 80, 2840609, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 14 - Run Script'),
|
||||
(-129501, 0, 38, 0, 34, 0, 100, 0, 8, 15, 0, 0, 0, 0, 80, 2840610, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 15 - Run Script'),
|
||||
(-129501, 0, 39, 0, 109, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Path 0 Finished - Despawn In 5000 ms'),
|
||||
(-129501, 0, 40, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Just Died - Despawn In 5000 ms'),
|
||||
(-129501, 0, 41, 0, 1, 0, 100, 0, 600000, 600000, 600000, 600000, 0, 0, 41, 0, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Out of Combat - Despawn Instant'),
|
||||
(-129502, 0, 28, 29, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Set Active On'),
|
||||
(-129502, 0, 29, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 69, 10, 0, 0, 2, 0, 0, 9, 29488, 0, 300, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Move To Creature in Range \'Scourge Gryphon\''),
|
||||
(-129502, 0, 30, 0, 34, 0, 100, 0, 8, 10, 0, 0, 0, 0, 87, 2840603, 2840604, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Reached Point 10 - Run Random Script'),
|
||||
(-129502, 0, 31, 33, 40, 0, 100, 0, 7, 2840600, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Run Speed to 1.14286'),
|
||||
(-129502, 0, 32, 33, 40, 0, 100, 0, 8, 2840601, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 8 of Path 2840601 Reached - Set Run Speed to 1.14286'),
|
||||
(-129502, 0, 33, 34, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Fly Off'),
|
||||
(-129502, 0, 34, 35, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Dismount'),
|
||||
(-129502, 0, 35, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 87, 2840605, 2840606, 2840607, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Run Random Script'),
|
||||
(-129502, 0, 36, 0, 34, 0, 100, 0, 8, 13, 0, 0, 0, 0, 80, 2840608, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 13 - Run Script'),
|
||||
(-129502, 0, 37, 0, 34, 0, 100, 0, 8, 14, 0, 0, 0, 0, 80, 2840609, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 14 - Run Script'),
|
||||
(-129502, 0, 38, 0, 34, 0, 100, 0, 8, 15, 0, 0, 0, 0, 80, 2840610, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 15 - Run Script'),
|
||||
(-129502, 0, 39, 0, 109, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Path 0 Finished - Despawn In 5000 ms'),
|
||||
(-129502, 0, 40, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Just Died - Despawn In 5000 ms'),
|
||||
(-129502, 0, 41, 0, 1, 0, 100, 0, 600000, 600000, 600000, 600000, 0, 0, 41, 0, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Out of Combat - Despawn Instant'),
|
||||
(-129503, 0, 28, 29, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Set Active On'),
|
||||
(-129503, 0, 29, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 69, 10, 0, 0, 2, 0, 0, 9, 29488, 0, 300, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Move To Creature in Range \'Scourge Gryphon\''),
|
||||
(-129503, 0, 30, 0, 34, 0, 100, 0, 8, 10, 0, 0, 0, 0, 87, 2840603, 2840604, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Reached Point 10 - Run Random Script'),
|
||||
(-129503, 0, 31, 33, 40, 0, 100, 0, 7, 2840600, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Run Speed to 1.14286'),
|
||||
(-129503, 0, 32, 33, 40, 0, 100, 0, 8, 2840601, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 8 of Path 2840601 Reached - Set Run Speed to 1.14286'),
|
||||
(-129503, 0, 33, 34, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Fly Off'),
|
||||
(-129503, 0, 34, 35, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Dismount'),
|
||||
(-129503, 0, 35, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 87, 2840605, 2840606, 2840607, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Run Random Script'),
|
||||
(-129503, 0, 36, 0, 34, 0, 100, 0, 8, 13, 0, 0, 0, 0, 80, 2840608, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 13 - Run Script'),
|
||||
(-129503, 0, 37, 0, 34, 0, 100, 0, 8, 14, 0, 0, 0, 0, 80, 2840609, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 14 - Run Script'),
|
||||
(-129503, 0, 38, 0, 34, 0, 100, 0, 8, 15, 0, 0, 0, 0, 80, 2840610, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 15 - Run Script'),
|
||||
(-129503, 0, 39, 0, 109, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Path 0 Finished - Despawn In 5000 ms'),
|
||||
(-129503, 0, 40, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Just Died - Despawn In 5000 ms'),
|
||||
(-129503, 0, 41, 0, 1, 0, 100, 0, 600000, 600000, 600000, 600000, 0, 0, 41, 0, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Out of Combat - Despawn Instant'),
|
||||
(-129520, 0, 28, 29, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Set Active On'),
|
||||
(-129520, 0, 29, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 69, 10, 0, 0, 2, 0, 0, 9, 29488, 0, 300, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Move To Creature in Range \'Scourge Gryphon\''),
|
||||
(-129520, 0, 30, 0, 34, 0, 100, 0, 8, 10, 0, 0, 0, 0, 87, 2840603, 2840604, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Reached Point 10 - Run Random Script'),
|
||||
(-129520, 0, 31, 33, 40, 0, 100, 0, 7, 2840600, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Run Speed to 1.14286'),
|
||||
(-129520, 0, 32, 33, 40, 0, 100, 0, 8, 2840601, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 8 of Path 2840601 Reached - Set Run Speed to 1.14286'),
|
||||
(-129520, 0, 33, 34, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Fly Off'),
|
||||
(-129520, 0, 34, 35, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Dismount'),
|
||||
(-129520, 0, 35, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 87, 2840605, 2840606, 2840607, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Run Random Script'),
|
||||
(-129520, 0, 36, 0, 34, 0, 100, 0, 8, 13, 0, 0, 0, 0, 80, 2840608, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 13 - Run Script'),
|
||||
(-129520, 0, 37, 0, 34, 0, 100, 0, 8, 14, 0, 0, 0, 0, 80, 2840609, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 14 - Run Script'),
|
||||
(-129520, 0, 38, 0, 34, 0, 100, 0, 8, 15, 0, 0, 0, 0, 80, 2840610, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 15 - Run Script'),
|
||||
(-129520, 0, 39, 0, 109, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Path 0 Finished - Despawn In 5000 ms'),
|
||||
(-129520, 0, 40, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Just Died - Despawn In 5000 ms'),
|
||||
(-129520, 0, 41, 0, 1, 0, 100, 0, 600000, 600000, 600000, 600000, 0, 0, 41, 0, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Out of Combat - Despawn Instant'),
|
||||
(-129529, 0, 28, 29, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Set Active On'),
|
||||
(-129529, 0, 29, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 69, 10, 0, 0, 2, 0, 0, 9, 29488, 0, 300, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Move To Creature in Range \'Scourge Gryphon\''),
|
||||
(-129529, 0, 30, 0, 34, 0, 100, 0, 8, 10, 0, 0, 0, 0, 87, 2840603, 2840604, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Reached Point 10 - Run Random Script'),
|
||||
(-129529, 0, 31, 33, 40, 0, 100, 0, 7, 2840600, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Run Speed to 1.14286'),
|
||||
(-129529, 0, 32, 33, 40, 0, 100, 0, 8, 2840601, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 8 of Path 2840601 Reached - Set Run Speed to 1.14286'),
|
||||
(-129529, 0, 33, 34, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Fly Off'),
|
||||
(-129529, 0, 34, 35, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Dismount'),
|
||||
(-129529, 0, 35, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 87, 2840605, 2840606, 2840607, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Run Random Script'),
|
||||
(-129529, 0, 36, 0, 34, 0, 100, 0, 8, 13, 0, 0, 0, 0, 80, 2840608, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 13 - Run Script'),
|
||||
(-129529, 0, 37, 0, 34, 0, 100, 0, 8, 14, 0, 0, 0, 0, 80, 2840609, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 14 - Run Script'),
|
||||
(-129529, 0, 38, 0, 34, 0, 100, 0, 8, 15, 0, 0, 0, 0, 80, 2840610, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 15 - Run Script'),
|
||||
(-129529, 0, 39, 0, 109, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Path 0 Finished - Despawn In 5000 ms'),
|
||||
(-129529, 0, 40, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Just Died - Despawn In 5000 ms'),
|
||||
(-129529, 0, 41, 0, 1, 0, 100, 0, 600000, 600000, 600000, 600000, 0, 0, 41, 0, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Out of Combat - Despawn Instant'),
|
||||
(-129530, 0, 28, 29, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Set Active On'),
|
||||
(-129530, 0, 29, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 69, 10, 0, 0, 2, 0, 0, 9, 29488, 0, 300, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Move To Creature in Range \'Scourge Gryphon\''),
|
||||
(-129530, 0, 30, 0, 34, 0, 100, 0, 8, 10, 0, 0, 0, 0, 87, 2840603, 2840604, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Reached Point 10 - Run Random Script'),
|
||||
(-129530, 0, 31, 33, 40, 0, 100, 0, 7, 2840600, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Run Speed to 1.14286'),
|
||||
(-129530, 0, 32, 33, 40, 0, 100, 0, 8, 2840601, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 8 of Path 2840601 Reached - Set Run Speed to 1.14286'),
|
||||
(-129530, 0, 33, 34, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Fly Off'),
|
||||
(-129530, 0, 34, 35, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Dismount'),
|
||||
(-129530, 0, 35, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 87, 2840605, 2840606, 2840607, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Run Random Script'),
|
||||
(-129530, 0, 36, 0, 34, 0, 100, 0, 8, 13, 0, 0, 0, 0, 80, 2840608, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 13 - Run Script'),
|
||||
(-129530, 0, 37, 0, 34, 0, 100, 0, 8, 14, 0, 0, 0, 0, 80, 2840609, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 14 - Run Script'),
|
||||
(-129530, 0, 38, 0, 34, 0, 100, 0, 8, 15, 0, 0, 0, 0, 80, 2840610, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 15 - Run Script'),
|
||||
(-129530, 0, 39, 0, 109, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Path 0 Finished - Despawn In 5000 ms'),
|
||||
(-129530, 0, 40, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Just Died - Despawn In 5000 ms'),
|
||||
(-129530, 0, 41, 0, 1, 0, 100, 0, 600000, 600000, 600000, 600000, 0, 0, 41, 0, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Out of Combat - Despawn Instant'),
|
||||
(-129531, 0, 28, 29, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Set Active On'),
|
||||
(-129531, 0, 29, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 69, 10, 0, 0, 2, 0, 0, 9, 29488, 0, 300, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Move To Creature in Range \'Scourge Gryphon\''),
|
||||
(-129531, 0, 30, 0, 34, 0, 100, 0, 8, 10, 0, 0, 0, 0, 87, 2840603, 2840604, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Reached Point 10 - Run Random Script'),
|
||||
(-129531, 0, 31, 33, 40, 0, 100, 0, 7, 2840600, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Run Speed to 1.14286'),
|
||||
(-129531, 0, 32, 33, 40, 0, 100, 0, 8, 2840601, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 8 of Path 2840601 Reached - Set Run Speed to 1.14286'),
|
||||
(-129531, 0, 33, 34, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Fly Off'),
|
||||
(-129531, 0, 34, 35, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Dismount'),
|
||||
(-129531, 0, 35, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 87, 2840605, 2840606, 2840607, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Run Random Script'),
|
||||
(-129531, 0, 36, 0, 34, 0, 100, 0, 8, 13, 0, 0, 0, 0, 80, 2840608, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 13 - Run Script'),
|
||||
(-129531, 0, 37, 0, 34, 0, 100, 0, 8, 14, 0, 0, 0, 0, 80, 2840609, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 14 - Run Script'),
|
||||
(-129531, 0, 38, 0, 34, 0, 100, 0, 8, 15, 0, 0, 0, 0, 80, 2840610, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 15 - Run Script'),
|
||||
(-129531, 0, 39, 0, 109, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Path 0 Finished - Despawn In 5000 ms'),
|
||||
(-129531, 0, 40, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Just Died - Despawn In 5000 ms'),
|
||||
(-129531, 0, 41, 0, 1, 0, 100, 0, 600000, 600000, 600000, 600000, 0, 0, 41, 0, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Out of Combat - Despawn Instant'),
|
||||
(-129532, 0, 28, 29, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Set Active On'),
|
||||
(-129532, 0, 29, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 69, 10, 0, 0, 2, 0, 0, 9, 29488, 0, 300, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Move To Creature in Range \'Scourge Gryphon\''),
|
||||
(-129532, 0, 30, 0, 34, 0, 100, 0, 8, 10, 0, 0, 0, 0, 87, 2840603, 2840604, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Reached Point 10 - Run Random Script'),
|
||||
(-129532, 0, 31, 33, 40, 0, 100, 0, 7, 2840600, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Run Speed to 1.14286'),
|
||||
(-129532, 0, 32, 33, 40, 0, 100, 0, 8, 2840601, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 8 of Path 2840601 Reached - Set Run Speed to 1.14286'),
|
||||
(-129532, 0, 33, 34, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Fly Off'),
|
||||
(-129532, 0, 34, 35, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Dismount'),
|
||||
(-129532, 0, 35, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 87, 2840605, 2840606, 2840607, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Run Random Script'),
|
||||
(-129532, 0, 36, 0, 34, 0, 100, 0, 8, 13, 0, 0, 0, 0, 80, 2840608, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 13 - Run Script'),
|
||||
(-129532, 0, 37, 0, 34, 0, 100, 0, 8, 14, 0, 0, 0, 0, 80, 2840609, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 14 - Run Script'),
|
||||
(-129532, 0, 38, 0, 34, 0, 100, 0, 8, 15, 0, 0, 0, 0, 80, 2840610, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 15 - Run Script'),
|
||||
(-129532, 0, 39, 0, 109, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Path 0 Finished - Despawn In 5000 ms'),
|
||||
(-129532, 0, 40, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Just Died - Despawn In 5000 ms'),
|
||||
(-129532, 0, 41, 0, 1, 0, 100, 0, 600000, 600000, 600000, 600000, 0, 0, 41, 0, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Out of Combat - Despawn Instant'),
|
||||
(-129546, 0, 28, 29, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Set Active On'),
|
||||
(-129546, 0, 29, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 69, 10, 0, 0, 2, 0, 0, 9, 29488, 0, 300, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Move To Creature in Range \'Scourge Gryphon\''),
|
||||
(-129546, 0, 30, 0, 34, 0, 100, 0, 8, 10, 0, 0, 0, 0, 87, 2840603, 2840604, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Reached Point 10 - Run Random Script'),
|
||||
(-129546, 0, 31, 33, 40, 0, 100, 0, 7, 2840600, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Run Speed to 1.14286'),
|
||||
(-129546, 0, 32, 33, 40, 0, 100, 0, 8, 2840601, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 8 of Path 2840601 Reached - Set Run Speed to 1.14286'),
|
||||
(-129546, 0, 33, 34, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Fly Off'),
|
||||
(-129546, 0, 34, 35, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Dismount'),
|
||||
(-129546, 0, 35, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 87, 2840605, 2840606, 2840607, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Run Random Script'),
|
||||
(-129546, 0, 36, 0, 34, 0, 100, 0, 8, 13, 0, 0, 0, 0, 80, 2840608, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 13 - Run Script'),
|
||||
(-129546, 0, 37, 0, 34, 0, 100, 0, 8, 14, 0, 0, 0, 0, 80, 2840609, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 14 - Run Script'),
|
||||
(-129546, 0, 38, 0, 34, 0, 100, 0, 8, 15, 0, 0, 0, 0, 80, 2840610, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 15 - Run Script'),
|
||||
(-129546, 0, 39, 0, 109, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Path 0 Finished - Despawn In 5000 ms'),
|
||||
(-129546, 0, 40, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Just Died - Despawn In 5000 ms'),
|
||||
(-129546, 0, 41, 0, 1, 0, 100, 0, 600000, 600000, 600000, 600000, 0, 0, 41, 0, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Out of Combat - Despawn Instant'),
|
||||
(-129547, 0, 28, 29, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Set Active On'),
|
||||
(-129547, 0, 29, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 69, 10, 0, 0, 2, 0, 0, 9, 29488, 0, 300, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Move To Creature in Range \'Scourge Gryphon\''),
|
||||
(-129547, 0, 30, 0, 34, 0, 100, 0, 8, 10, 0, 0, 0, 0, 87, 2840603, 2840604, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Reached Point 10 - Run Random Script'),
|
||||
(-129547, 0, 31, 33, 40, 0, 100, 0, 7, 2840600, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Run Speed to 1.14286'),
|
||||
(-129547, 0, 32, 33, 40, 0, 100, 0, 8, 2840601, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 8 of Path 2840601 Reached - Set Run Speed to 1.14286'),
|
||||
(-129547, 0, 33, 34, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Fly Off'),
|
||||
(-129547, 0, 34, 35, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Dismount'),
|
||||
(-129547, 0, 35, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 87, 2840605, 2840606, 2840607, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Run Random Script'),
|
||||
(-129547, 0, 36, 0, 34, 0, 100, 0, 8, 13, 0, 0, 0, 0, 80, 2840608, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 13 - Run Script'),
|
||||
(-129547, 0, 37, 0, 34, 0, 100, 0, 8, 14, 0, 0, 0, 0, 80, 2840609, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 14 - Run Script'),
|
||||
(-129547, 0, 38, 0, 34, 0, 100, 0, 8, 15, 0, 0, 0, 0, 80, 2840610, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 15 - Run Script'),
|
||||
(-129547, 0, 39, 0, 109, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Path 0 Finished - Despawn In 5000 ms'),
|
||||
(-129547, 0, 40, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Just Died - Despawn In 5000 ms'),
|
||||
(-129547, 0, 41, 0, 1, 0, 100, 0, 600000, 600000, 600000, 600000, 0, 0, 41, 0, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Out of Combat - Despawn Instant'),
|
||||
(-129556, 0, 28, 29, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Set Active On'),
|
||||
(-129556, 0, 29, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 69, 10, 0, 0, 2, 0, 0, 9, 29488, 0, 300, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Respawn - Move To Creature in Range \'Scourge Gryphon\''),
|
||||
(-129556, 0, 30, 0, 34, 0, 100, 0, 8, 10, 0, 0, 0, 0, 87, 2840603, 2840604, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Reached Point 10 - Run Random Script'),
|
||||
(-129556, 0, 31, 33, 40, 0, 100, 0, 7, 2840600, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Run Speed to 1.14286'),
|
||||
(-129556, 0, 32, 33, 40, 0, 100, 0, 8, 2840601, 0, 0, 0, 0, 136, 1, 1, 14286, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 8 of Path 2840601 Reached - Set Run Speed to 1.14286'),
|
||||
(-129556, 0, 33, 34, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Set Fly Off'),
|
||||
(-129556, 0, 34, 35, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Dismount'),
|
||||
(-129556, 0, 35, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 87, 2840605, 2840606, 2840607, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Point 7 of Path 2840600 Reached - Run Random Script'),
|
||||
(-129556, 0, 36, 0, 34, 0, 100, 0, 8, 13, 0, 0, 0, 0, 80, 2840608, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 13 - Run Script'),
|
||||
(-129556, 0, 37, 0, 34, 0, 100, 0, 8, 14, 0, 0, 0, 0, 80, 2840609, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 14 - Run Script'),
|
||||
(-129556, 0, 38, 0, 34, 0, 100, 0, 8, 15, 0, 0, 0, 0, 80, 2840610, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On MovementInfo 15 - Run Script'),
|
||||
(-129556, 0, 39, 0, 109, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Path 0 Finished - Despawn In 5000 ms'),
|
||||
(-129556, 0, 40, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - On Just Died - Despawn In 5000 ms'),
|
||||
(-129556, 0, 41, 0, 1, 0, 100, 0, 600000, 600000, 600000, 600000, 0, 0, 41, 0, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Out of Combat - Despawn Instant');
|
||||
|
||||
-- Set Action Lists.
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9) AND (`entryorguid` IN (2840603, 2840604, 2840605, 2840606, 2840607, 2840608, 2840609, 2840610));
|
||||
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
|
||||
(2840603, 9, 0, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 43, 0, 26308, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Mount To Model 26308'),
|
||||
(2840603, 9, 1, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 60, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Set Fly On'),
|
||||
(2840603, 9, 2, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 136, 1, 6, 428571, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Set Run Speed to 6.428571'),
|
||||
(2840603, 9, 3, 0, 0, 0, 100, 0, 500, 500, 0, 0, 0, 0, 53, 0, 2840600, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Start Waypoint Path 2840600'),
|
||||
(2840604, 9, 0, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 43, 0, 26308, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Mount To Model 26308'),
|
||||
(2840604, 9, 1, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 60, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Set Fly On'),
|
||||
(2840604, 9, 2, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 136, 1, 6, 428571, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Set Run Speed to 6.428571'),
|
||||
(2840604, 9, 3, 0, 0, 0, 100, 0, 500, 500, 0, 0, 0, 0, 53, 0, 2840601, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Start Waypoint Path 2840601'),
|
||||
(2840605, 9, 0, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 69, 13, 0, 0, 2, 0, 0, 19, 28658, 300, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Move To Closest Creature \'Gothik the Harvester\''),
|
||||
(2840606, 9, 0, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 223, 11, 0, 0, 0, 0, 0, 19, 28653, 300, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Do Action ID 11'),
|
||||
(2840606, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 69, 14, 0, 0, 2, 0, 0, 19, 28653, 300, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Move To Closest Creature \'Salanar the Horseman\''),
|
||||
(2840607, 9, 0, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 69, 15, 0, 0, 2, 0, 0, 19, 28377, 300, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Move To Closest Creature \'Prince Valanar\''),
|
||||
(2840608, 9, 0, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 5, 66, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Play Emote 66'),
|
||||
(2840608, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 223, 15, 0, 0, 0, 0, 0, 10, 129473, 28658, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Do Action ID 15'),
|
||||
(2840608, 9, 2, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 0, 0, 233, 2840610, 2840612, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Start Random Path 2840610-2840612'),
|
||||
(2840609, 9, 0, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 5, 66, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Play Emote 66'),
|
||||
(2840609, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 223, 25, 0, 0, 0, 0, 0, 10, 129460, 28653, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Do Action ID 25'),
|
||||
(2840609, 9, 2, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 0, 0, 233, 2840620, 2840621, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Start Random Path 2840620-2840621'),
|
||||
(2840610, 9, 0, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 5, 66, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Play Emote 66'),
|
||||
(2840610, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 223, 66, 0, 0, 0, 0, 0, 10, 129387, 28377, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Do Action ID 66'),
|
||||
(2840610, 9, 2, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 0, 0, 233, 2840630, 2840631, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Death Knight Initiate - Actionlist - Start Random Path 2840630-2840631');
|
||||
|
||||
-- Set Salanar & Valanar SAI.
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE (`entry` IN (28377, 28653));
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0) AND (`entryorguid` IN (28377, 28653));
|
||||
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
|
||||
(28653, 0, 0, 0, 8, 0, 100, 512, 52264, 0, 0, 0, 0, 0, 41, 500, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Salanar the Horseman - On Spellhit \'Deliver Stolen Horse\' - Despawn In 500 ms'),
|
||||
(28653, 0, 1, 0, 72, 0, 100, 0, 11, 0, 0, 0, 0, 0, 235, 20000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Salanar the Horseman - On Action 11 Done - Pause Movement'),
|
||||
(28653, 0, 2, 0, 72, 0, 100, 0, 25, 0, 0, 0, 0, 0, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Salanar the Horseman - On Action 25 Done - Play Emote 25'),
|
||||
(28377, 0, 0, 0, 72, 0, 100, 0, 66, 0, 0, 0, 0, 0, 5, 66, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Prince Valanar - On Action 66 Done - Play Emote 66');
|
||||
@@ -44,6 +44,11 @@ enum DeathComesFromOnHigh
|
||||
SPELL_CALL_OF_THE_DEAD = 51900
|
||||
};
|
||||
|
||||
enum GothikActions
|
||||
{
|
||||
ACTION_DK_INITIATE_ASSAULT_ROAR = 15
|
||||
};
|
||||
|
||||
// 51904 - Summon Ghouls On Scarlet Crusade
|
||||
class spell_q12641_death_comes_from_on_high_summon_ghouls : public SpellScript
|
||||
{
|
||||
@@ -96,210 +101,6 @@ class spell_q12641_death_comes_from_on_high_recall_eye : public SpellScript
|
||||
}
|
||||
};
|
||||
|
||||
enum deathsChallenge
|
||||
{
|
||||
SPELL_DUEL = 52996,
|
||||
//SPELL_DUEL_TRIGGERED = 52990,
|
||||
SPELL_DUEL_VICTORY = 52994,
|
||||
SPELL_DUEL_FLAG = 52991,
|
||||
|
||||
SAY_DUEL = 0,
|
||||
|
||||
QUEST_DEATH_CHALLENGE = 12733,
|
||||
|
||||
DATA_IN_PROGRESS = 0,
|
||||
|
||||
EVENT_SPEAK = 1, // 1 - 6
|
||||
EVENT_DUEL_LOST = 7, // 7 - 8
|
||||
};
|
||||
|
||||
class npc_death_knight_initiate : public CreatureScript
|
||||
{
|
||||
public:
|
||||
npc_death_knight_initiate() : CreatureScript("npc_death_knight_initiate") { }
|
||||
|
||||
bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action) override
|
||||
{
|
||||
ClearGossipMenuFor(player);
|
||||
if (action == GOSSIP_ACTION_INFO_DEF)
|
||||
{
|
||||
CloseGossipMenuFor(player);
|
||||
|
||||
if (player->IsInCombat() || creature->IsInCombat())
|
||||
return true;
|
||||
|
||||
if (creature->AI()->GetData(DATA_IN_PROGRESS))
|
||||
return true;
|
||||
|
||||
creature->RemoveUnitFlag(UNIT_FLAG_SWIMMING);
|
||||
|
||||
player->CastSpell(creature, SPELL_DUEL, false);
|
||||
player->CastSpell(player, SPELL_DUEL_FLAG, true);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OnGossipHello(Player* player, Creature* creature) override
|
||||
{
|
||||
if (player->GetQuestStatus(QUEST_DEATH_CHALLENGE) == QUEST_STATUS_INCOMPLETE && creature->IsFullHealth())
|
||||
{
|
||||
if (player->HealthBelowPct(10))
|
||||
return true;
|
||||
|
||||
if (player->IsInCombat() || creature->IsInCombat())
|
||||
return true;
|
||||
|
||||
if (!creature->AI()->GetGUID(player->GetGUID().GetCounter()))
|
||||
AddGossipItemFor(player, 9765, 0, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF);
|
||||
|
||||
SendGossipMenuFor(player, player->GetGossipTextId(creature), creature->GetGUID());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return new npc_death_knight_initiateAI(creature);
|
||||
}
|
||||
|
||||
struct npc_death_knight_initiateAI : public CombatAI
|
||||
{
|
||||
npc_death_knight_initiateAI(Creature* creature) : CombatAI(creature) { }
|
||||
|
||||
bool _duelInProgress;
|
||||
ObjectGuid _duelGUID;
|
||||
EventMap events;
|
||||
std::set<uint32> playerGUIDs;
|
||||
uint32 timer = 0;
|
||||
|
||||
uint32 GetData(uint32 data) const override
|
||||
{
|
||||
if (data == DATA_IN_PROGRESS)
|
||||
return _duelInProgress;
|
||||
|
||||
return playerGUIDs.find(data) != playerGUIDs.end();
|
||||
}
|
||||
|
||||
void Reset() override
|
||||
{
|
||||
_duelInProgress = false;
|
||||
_duelGUID.Clear();
|
||||
me->RestoreFaction();
|
||||
CombatAI::Reset();
|
||||
|
||||
me->SetUnitFlag(UNIT_FLAG_SWIMMING);
|
||||
}
|
||||
|
||||
void SpellHit(Unit* caster, SpellInfo const* pSpell) override
|
||||
{
|
||||
if (!_duelInProgress && pSpell->Id == SPELL_DUEL)
|
||||
{
|
||||
playerGUIDs.insert(caster->GetGUID().GetCounter());
|
||||
_duelGUID = caster->GetGUID();
|
||||
_duelInProgress = true;
|
||||
|
||||
timer = 600000; // clear playerGUIDs after 10 minutes if no one initiates a duel
|
||||
me->SetFacingToObject(caster);
|
||||
|
||||
events.ScheduleEvent(EVENT_SPEAK, 3s);
|
||||
events.ScheduleEvent(EVENT_SPEAK + 1, 7s);
|
||||
events.ScheduleEvent(EVENT_SPEAK + 2, 8s);
|
||||
events.ScheduleEvent(EVENT_SPEAK + 3, 9s);
|
||||
events.ScheduleEvent(EVENT_SPEAK + 4, 10s);
|
||||
events.ScheduleEvent(EVENT_SPEAK + 5, 11s);
|
||||
}
|
||||
}
|
||||
|
||||
void DamageTaken(Unit* attacker, uint32& damage, DamageEffectType, SpellSchoolMask) override
|
||||
{
|
||||
if (attacker && _duelInProgress && attacker->IsControlledByPlayer())
|
||||
{
|
||||
if (attacker->GetCharmerOrOwnerOrOwnGUID() != _duelGUID)
|
||||
damage = 0;
|
||||
else if (damage >= me->GetHealth())
|
||||
{
|
||||
damage = 0;
|
||||
events.ScheduleEvent(EVENT_DUEL_LOST, 2s);
|
||||
events.ScheduleEvent(EVENT_DUEL_LOST + 1, 6s);
|
||||
_duelGUID.Clear();
|
||||
_duelInProgress = 0;
|
||||
|
||||
attacker->RemoveGameObject(SPELL_DUEL_FLAG, true);
|
||||
attacker->AttackStop();
|
||||
me->CombatStop(false);
|
||||
me->RemoveAllAuras();
|
||||
me->CastSpell(attacker, SPELL_DUEL_VICTORY, true);
|
||||
me->RestoreFaction();
|
||||
me->DespawnOrUnsummon(10s);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void UpdateAI(uint32 diff) override
|
||||
{
|
||||
if (timer != 0)
|
||||
{
|
||||
if (timer <= diff)
|
||||
{
|
||||
timer = 0;
|
||||
playerGUIDs.clear();
|
||||
}
|
||||
else
|
||||
{
|
||||
timer -= diff;
|
||||
}
|
||||
}
|
||||
|
||||
events.Update(diff);
|
||||
switch (events.ExecuteEvent())
|
||||
{
|
||||
case EVENT_SPEAK:
|
||||
Talk(SAY_DUEL, ObjectAccessor::GetPlayer(*me, _duelGUID));
|
||||
break;
|
||||
case EVENT_SPEAK+1:
|
||||
Talk(SAY_DUEL + 1, ObjectAccessor::GetPlayer(*me, _duelGUID));
|
||||
break;
|
||||
case EVENT_SPEAK+2:
|
||||
Talk(SAY_DUEL + 2, ObjectAccessor::GetPlayer(*me, _duelGUID));
|
||||
break;
|
||||
case EVENT_SPEAK+3:
|
||||
Talk(SAY_DUEL + 3, ObjectAccessor::GetPlayer(*me, _duelGUID));
|
||||
break;
|
||||
case EVENT_SPEAK+4:
|
||||
Talk(SAY_DUEL + 4, ObjectAccessor::GetPlayer(*me, _duelGUID));
|
||||
break;
|
||||
case EVENT_SPEAK+5:
|
||||
me->SetFaction(FACTION_UNDEAD_SCOURGE_2);
|
||||
if (Player* player = ObjectAccessor::GetPlayer(*me, _duelGUID))
|
||||
AttackStart(player);
|
||||
return;
|
||||
case EVENT_DUEL_LOST:
|
||||
me->CastSpell(me, 7267, true);
|
||||
break;
|
||||
case EVENT_DUEL_LOST+1:
|
||||
EnterEvadeMode();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!events.Empty() || !UpdateVictim())
|
||||
return;
|
||||
|
||||
if (_duelInProgress)
|
||||
{
|
||||
if (me->GetVictim()->GetGUID() == _duelGUID && me->GetVictim()->HealthBelowPct(10))
|
||||
{
|
||||
me->GetVictim()->CastSpell(me->GetVictim(), 7267, true); // beg
|
||||
me->GetVictim()->RemoveGameObject(SPELL_DUEL_FLAG, true);
|
||||
EnterEvadeMode();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
CombatAI::UpdateAI(diff);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
enum GiftOfTheHarvester
|
||||
{
|
||||
NPC_GHOUL = 28845,
|
||||
@@ -473,6 +274,9 @@ public:
|
||||
spoken = 5000;
|
||||
Talk(SAY_GOTHIK_PIT);
|
||||
}
|
||||
|
||||
if (action == ACTION_DK_INITIATE_ASSAULT_ROAR)
|
||||
me->HandleEmoteCommand(EMOTE_ONESHOT_ROAR);
|
||||
}
|
||||
|
||||
void MoveInLineOfSight(Unit* who) override
|
||||
@@ -924,7 +728,6 @@ void AddSC_the_scarlet_enclave_c1()
|
||||
{
|
||||
RegisterSpellScript(spell_q12641_death_comes_from_on_high_summon_ghouls);
|
||||
RegisterSpellScript(spell_q12641_death_comes_from_on_high_recall_eye);
|
||||
new npc_death_knight_initiate();
|
||||
RegisterSpellScript(spell_item_gift_of_the_harvester);
|
||||
RegisterSpellScript(spell_q12698_the_gift_that_keeps_on_giving);
|
||||
new npc_scarlet_ghoul();
|
||||
|
||||
Reference in New Issue
Block a user