From ea2dd58ff76eb0b378b569189b560df6a79028c2 Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Thu, 1 Oct 2026 13:34:35 -0300 Subject: [PATCH] fix(DB/Quest): Re-implement Missing Friends to match Retail exactly (#27896) --- .../rev_1790556412559274300.sql | 335 ++++++++++++++++++ src/server/scripts/World/go_scripts.cpp | 37 -- 2 files changed, 335 insertions(+), 37 deletions(-) create mode 100644 data/sql/updates/pending_db_world/rev_1790556412559274300.sql diff --git a/data/sql/updates/pending_db_world/rev_1790556412559274300.sql b/data/sql/updates/pending_db_world/rev_1790556412559274300.sql new file mode 100644 index 0000000000..acd2fcac70 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1790556412559274300.sql @@ -0,0 +1,335 @@ +-- Captive Child (22314) - Missing Friends (10852): freed children thank the player and run off on a fixed path per spawn +-- Sniffed: 3.4.2.50664, 3.4.0.45942 and 3.4.0.46368; every path checked against 211 runs in 34 TBC/WotLK/Cata Classic sniffs + +-- Veil Skith Cage: opening one credits and frees the children inside it +UPDATE `gameobject_template` SET `AIName` = 'SmartGameObjectAI', `ScriptName` = '' WHERE `entry` IN (185202, 185203, 185204, 185205); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (185202, 185203, 185204, 185205) 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`, `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 +(185202, 1, 0, 1, 8, 0, 100, 0, 38779, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Veil Skith Cage - On Spellhit ''Opening Veil Skith Cage'' - Store Targetlist'), +(185202, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 11, 22314, 5, 1, 0, 0, 0, 0, 0, 'Veil Skith Cage - On Link - Send Target 1 (Captive Child)'), +(185202, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 223, 1, 0, 0, 0, 0, 0, 11, 22314, 5, 1, 0, 0, 0, 0, 0, 'Veil Skith Cage - On Link - Do Action 1 (Captive Child)'), +(185203, 1, 0, 1, 8, 0, 100, 0, 38779, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Veil Skith Cage - On Spellhit ''Opening Veil Skith Cage'' - Store Targetlist'), +(185203, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 11, 22314, 5, 1, 0, 0, 0, 0, 0, 'Veil Skith Cage - On Link - Send Target 1 (Captive Child)'), +(185203, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 223, 1, 0, 0, 0, 0, 0, 11, 22314, 5, 1, 0, 0, 0, 0, 0, 'Veil Skith Cage - On Link - Do Action 1 (Captive Child)'), +(185204, 1, 0, 1, 8, 0, 100, 0, 38779, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Veil Skith Cage - On Spellhit ''Opening Veil Skith Cage'' - Store Targetlist'), +(185204, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 11, 22314, 5, 1, 0, 0, 0, 0, 0, 'Veil Skith Cage - On Link - Send Target 1 (Captive Child)'), +(185204, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 223, 1, 0, 0, 0, 0, 0, 11, 22314, 5, 1, 0, 0, 0, 0, 0, 'Veil Skith Cage - On Link - Do Action 1 (Captive Child)'), +(185205, 1, 0, 1, 8, 0, 100, 0, 38779, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Veil Skith Cage - On Spellhit ''Opening Veil Skith Cage'' - Store Targetlist'), +(185205, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 11, 22314, 5, 1, 0, 0, 0, 0, 0, 'Veil Skith Cage - On Link - Send Target 1 (Captive Child)'), +(185205, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 223, 1, 0, 0, 0, 0, 0, 11, 22314, 5, 1, 0, 0, 0, 0, 0, 'Veil Skith Cage - On Link - Do Action 1 (Captive Child)'); + +-- Captive Child: each spawn has its own line, delays and escape path +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 22314; + +DELETE FROM `creature_text` WHERE `CreatureID` = 22314; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(22314, 0, 0, 'Yay! We''re free!', 12, 0, 100, 0, 0, 0, 20109, 0, 'Captive Child'), +(22314, 1, 0, 'Woot!', 12, 0, 100, 0, 0, 0, 20110, 0, 'Captive Child'), +(22314, 2, 0, 'Yay! We love you! You saved us!', 12, 0, 100, 0, 0, 0, 20111, 0, 'Captive Child'), +(22314, 3, 0, 'I think those weird bird guys were going to eat us. Gross!', 12, 0, 100, 0, 0, 0, 20114, 0, 'Captive Child'), +(22314, 4, 0, 'Gross!', 12, 0, 100, 0, 0, 0, 20115, 0, 'Captive Child'); + +UPDATE `creature` SET `CreateObject` = 2, `VerifiedBuild` = 50664 WHERE `id` = 22314 AND `guid` BETWEEN 78883 AND 78896; + +DELETE FROM `smart_scripts` WHERE `entryorguid` BETWEEN -78896 AND -78883 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`, `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 +(-78883, 0, 0, 1, 72, 0, 100, 1, 1, 0, 0, 0, 0, 0, 33, 22314, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Action 1 Done - Quest Credit ''Missing Friends'' (No Repeat)'), +(-78883, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 788830, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Start Path 788830'), +(-78883, 0, 2, 0, 109, 0, 100, 0, 0, 788830, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Path 788830 Finished - Despawn In 1000 ms'), +(-78884, 0, 0, 1, 72, 0, 100, 1, 1, 0, 0, 0, 0, 0, 33, 22314, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Action 1 Done - Quest Credit ''Missing Friends'' (No Repeat)'), +(-78884, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 788840, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Start Path 788840'), +(-78884, 0, 2, 0, 109, 0, 100, 0, 0, 788840, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Path 788840 Finished - Despawn In 1000 ms'), +(-78885, 0, 0, 1, 72, 0, 100, 1, 1, 0, 0, 0, 0, 0, 33, 22314, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Action 1 Done - Quest Credit ''Missing Friends'' (No Repeat)'), +(-78885, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 788850, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Start Path 788850'), +(-78885, 0, 2, 0, 109, 0, 100, 0, 0, 788850, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Path 788850 Finished - Despawn In 1000 ms'), +(-78886, 0, 0, 1, 72, 0, 100, 1, 1, 0, 0, 0, 0, 0, 33, 22314, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Action 1 Done - Quest Credit ''Missing Friends'' (No Repeat)'), +(-78886, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 788860, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Start Path 788860'), +(-78886, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 80, 2231400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Run Script'), +(-78886, 0, 3, 0, 109, 0, 100, 0, 0, 788860, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Path 788860 Finished - Despawn In 1000 ms'), +(-78887, 0, 0, 1, 72, 0, 100, 1, 1, 0, 0, 0, 0, 0, 33, 22314, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Action 1 Done - Quest Credit ''Missing Friends'' (No Repeat)'), +(-78887, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 788870, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Start Path 788870'), +(-78887, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 80, 2231401, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Run Script'), +(-78887, 0, 3, 0, 109, 0, 100, 0, 0, 788870, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Path 788870 Finished - Despawn In 1000 ms'), +(-78888, 0, 0, 1, 72, 0, 100, 1, 1, 0, 0, 0, 0, 0, 33, 22314, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Action 1 Done - Quest Credit ''Missing Friends'' (No Repeat)'), +(-78888, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 788880, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Start Path 788880'), +(-78888, 0, 2, 0, 109, 0, 100, 0, 0, 788880, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Path 788880 Finished - Despawn In 1000 ms'), +(-78889, 0, 0, 1, 72, 0, 100, 1, 1, 0, 0, 0, 0, 0, 33, 22314, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Action 1 Done - Quest Credit ''Missing Friends'' (No Repeat)'), +(-78889, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 788890, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Start Path 788890'), +(-78889, 0, 2, 0, 109, 0, 100, 0, 0, 788890, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Path 788890 Finished - Despawn In 1000 ms'), +(-78890, 0, 0, 1, 72, 0, 100, 1, 1, 0, 0, 0, 0, 0, 33, 22314, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Action 1 Done - Quest Credit ''Missing Friends'' (No Repeat)'), +(-78890, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 788900, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Start Path 788900'), +(-78890, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 80, 2231402, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Run Script'), +(-78890, 0, 3, 0, 109, 0, 100, 0, 0, 788900, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Path 788900 Finished - Despawn In 1000 ms'), +(-78891, 0, 0, 1, 72, 0, 100, 1, 1, 0, 0, 0, 0, 0, 33, 22314, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Action 1 Done - Quest Credit ''Missing Friends'' (No Repeat)'), +(-78891, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 788910, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Start Path 788910'), +(-78891, 0, 2, 0, 109, 0, 100, 0, 0, 788910, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Path 788910 Finished - Despawn In 1000 ms'), +(-78892, 0, 0, 1, 72, 0, 100, 1, 1, 0, 0, 0, 0, 0, 33, 22314, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Action 1 Done - Quest Credit ''Missing Friends'' (No Repeat)'), +(-78892, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 788920, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Start Path 788920'), +(-78892, 0, 2, 0, 109, 0, 100, 0, 0, 788920, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Path 788920 Finished - Despawn In 1000 ms'), +(-78893, 0, 0, 1, 72, 0, 100, 1, 1, 0, 0, 0, 0, 0, 33, 22314, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Action 1 Done - Quest Credit ''Missing Friends'' (No Repeat)'), +(-78893, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 788930, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Start Path 788930'), +(-78893, 0, 2, 0, 109, 0, 100, 0, 0, 788930, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Path 788930 Finished - Despawn In 1000 ms'), +(-78894, 0, 0, 1, 72, 0, 100, 1, 1, 0, 0, 0, 0, 0, 33, 22314, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Action 1 Done - Quest Credit ''Missing Friends'' (No Repeat)'), +(-78894, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 788940, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Start Path 788940'), +(-78894, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 80, 2231403, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Run Script'), +(-78894, 0, 3, 0, 109, 0, 100, 0, 0, 788940, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Path 788940 Finished - Despawn In 1000 ms'), +(-78895, 0, 0, 1, 72, 0, 100, 1, 1, 0, 0, 0, 0, 0, 33, 22314, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Action 1 Done - Quest Credit ''Missing Friends'' (No Repeat)'), +(-78895, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 788950, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Start Path 788950'), +(-78895, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 80, 2231404, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Run Script'), +(-78895, 0, 3, 0, 109, 0, 100, 0, 0, 788950, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Path 788950 Finished - Despawn In 1000 ms'), +(-78896, 0, 0, 1, 72, 0, 100, 1, 1, 0, 0, 0, 0, 0, 33, 22314, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Action 1 Done - Quest Credit ''Missing Friends'' (No Repeat)'), +(-78896, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 788960, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Start Path 788960'), +(-78896, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 80, 2231405, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Link - Run Script'), +(-78896, 0, 3, 0, 109, 0, 100, 0, 0, 788960, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - On Path 788960 Finished - Despawn In 1000 ms'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` BETWEEN 2231400 AND 2231405 AND `source_type` = 9; +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 +(2231400, 9, 0, 0, 0, 0, 100, 0, 2200, 2200, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - Actionlist - Say Line 1'), +(2231401, 9, 0, 0, 0, 0, 100, 0, 900, 900, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - Actionlist - Say Line 0'), +(2231402, 9, 0, 0, 0, 0, 100, 0, 2200, 2200, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - Actionlist - Say Line 2'), +(2231403, 9, 0, 0, 0, 0, 100, 0, 4300, 4300, 0, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - Actionlist - Say Line 4'), +(2231404, 9, 0, 0, 0, 0, 100, 0, 2100, 2100, 0, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - Actionlist - Say Line 3'), +(2231405, 9, 0, 0, 0, 0, 100, 0, 3400, 3400, 0, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Captive Child - Actionlist - Say Line 4'); + +-- Point 1 is the cage door: walk there and wait, then run +DELETE FROM `waypoint_data` WHERE `id` IN (788830, 788840, 788850, 788860, 788870, 788880, 788890, 788900, 788910, 788920, 788930, 788940, 788950, 788960); +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `velocity`, `delay`, `smoothTransition`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(788830, 1, -2580.55, 5428.53, 27.55, NULL, 0, 4100, 0, 0, 0, 100, 0), +(788830, 2, -2564.6, 5432.04, 27.01, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 3, -2562.78, 5450.01, 27.24, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 4, -2561.86, 5441.32, 27.16, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 5, -2555.2, 5459.03, 18.15, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 6, -2546.95, 5468.82, 8.64, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 7, -2535.45, 5469.99, 7.58, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 8, -2527.31, 5462.69, 4.59, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 9, -2526.95, 5451.52, 0.89, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 10, -2535.56, 5438.7, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 11, -2546.19, 5424.2, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 12, -2559.53, 5406.31, 0.18, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 13, -2588.18, 5402.06, 0.21, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 14, -2599.65, 5391.39, 3.69, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 15, -2625.07, 5379.52, 6.46, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 16, -2641.3, 5362.89, 7.64, NULL, 0, 0, 0, 1, 0, 100, 0), +(788830, 17, -2670.93, 5335.31, 3.95, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 1, -2580.26, 5427.43, 27.03, NULL, 0, 3600, 0, 0, 0, 100, 0), +(788840, 2, -2563.51, 5434.99, 27.1, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 3, -2562.79, 5441.61, 27.13, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 4, -2563.09, 5447.2, 27.23, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 5, -2561.74, 5451.92, 26.63, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 6, -2556.11, 5458.03, 19.53, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 7, -2550.47, 5464, 12.41, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 8, -2541.68, 5471.22, 8.24, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 9, -2530.81, 5468.18, 6.73, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 10, -2526.04, 5451.06, 0.73, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 11, -2534.1, 5439.88, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 12, -2545.4, 5420.88, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 13, -2547.59, 5403.81, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 14, -2556.54, 5372.37, 0.42, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 15, -2566.06, 5343.58, 4.7, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 16, -2589.11, 5307.65, 7.29, NULL, 0, 0, 0, 1, 0, 100, 0), +(788840, 17, -2630.84, 5284.38, 6.02, NULL, 0, 0, 0, 1, 0, 100, 0), +(788850, 1, -2462.55, 5393.92, 2.18, NULL, 0, 4000, 0, 0, 0, 100, 0), +(788850, 2, -2476.86, 5376.18, 1.46, NULL, 0, 0, 0, 1, 0, 100, 0), +(788850, 3, -2490.64, 5368.3, 0.61, NULL, 0, 0, 0, 1, 0, 100, 0), +(788850, 4, -2508.91, 5359.74, 0.32, NULL, 0, 0, 0, 1, 0, 100, 0), +(788850, 5, -2526.08, 5350.57, 1.37, NULL, 0, 0, 0, 1, 0, 100, 0), +(788850, 6, -2546.91, 5342.6, 1.45, NULL, 0, 0, 0, 1, 0, 100, 0), +(788850, 7, -2568.82, 5334.2, 5.46, NULL, 0, 0, 0, 1, 0, 100, 0), +(788850, 8, -2579.22, 5321.14, 6.95, NULL, 0, 0, 0, 1, 0, 100, 0), +(788850, 9, -2594.94, 5305.16, 7.39, NULL, 0, 0, 0, 1, 0, 100, 0), +(788850, 10, -2618.28, 5291.11, 8.29, NULL, 0, 0, 0, 1, 0, 100, 0), +(788850, 11, -2646.46, 5274.69, 1.93, NULL, 0, 0, 0, 1, 0, 100, 0), +(788860, 1, -2463.43, 5397.45, 2.13, NULL, 0, 3400, 0, 0, 0, 100, 0), +(788860, 2, -2481.75, 5377.18, 0.58, NULL, 0, 0, 0, 1, 0, 100, 0), +(788860, 3, -2500.63, 5363.35, 0.15, NULL, 0, 0, 0, 1, 0, 100, 0), +(788860, 4, -2514.85, 5351.96, 0.89, NULL, 0, 0, 0, 1, 0, 100, 0), +(788860, 5, -2528.58, 5344.68, 1.31, NULL, 0, 0, 0, 1, 0, 100, 0), +(788860, 6, -2543.93, 5338.02, 0.87, NULL, 0, 0, 0, 1, 0, 100, 0), +(788860, 7, -2562.85, 5332.35, 3.84, NULL, 0, 0, 0, 1, 0, 100, 0), +(788860, 8, -2576.57, 5318.39, 6.65, NULL, 0, 0, 0, 1, 0, 100, 0), +(788860, 9, -2595.23, 5299.74, 6.93, NULL, 0, 0, 0, 1, 0, 100, 0), +(788860, 10, -2632.29, 5285.59, 5.84, NULL, 0, 0, 0, 1, 0, 100, 0), +(788870, 1, -2542.87, 5482.88, 8.26, NULL, 0, 2100, 0, 0, 0, 100, 0), +(788870, 2, -2531.77, 5468.07, 6.91, NULL, 0, 0, 0, 1, 0, 100, 0), +(788870, 3, -2531.65, 5439.55, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788870, 4, -2546, 5411.62, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788870, 5, -2548.39, 5385.12, 0.17, NULL, 0, 0, 0, 1, 0, 100, 0), +(788870, 6, -2558.39, 5366, 1.31, NULL, 0, 0, 0, 1, 0, 100, 0), +(788870, 7, -2569.52, 5349.54, 5.07, NULL, 0, 0, 0, 1, 0, 100, 0), +(788870, 8, -2592.2, 5317.52, 7.55, NULL, 0, 0, 0, 1, 0, 100, 0), +(788870, 9, -2614.43, 5296.19, 8.4, NULL, 0, 0, 0, 1, 0, 100, 0), +(788870, 10, -2648.05, 5274.57, 1.74, NULL, 0, 0, 0, 1, 0, 100, 0), +(788880, 1, -2542.21, 5482.08, 8.26, NULL, 0, 2600, 0, 0, 0, 100, 0), +(788880, 2, -2527.83, 5450.78, 0.78, NULL, 0, 0, 0, 1, 0, 100, 0), +(788880, 3, -2537.83, 5434.95, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788880, 4, -2544.24, 5412.62, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788880, 5, -2552.14, 5390.54, 0.34, NULL, 0, 0, 0, 1, 0, 100, 0), +(788880, 6, -2562.42, 5361.96, 1.88, NULL, 0, 0, 0, 1, 0, 100, 0), +(788880, 7, -2569.9, 5342.06, 5.74, NULL, 0, 0, 0, 1, 0, 100, 0), +(788880, 8, -2592.49, 5315.3, 7.42, NULL, 0, 0, 0, 1, 0, 100, 0), +(788880, 9, -2624.8, 5290.42, 8.21, NULL, 0, 0, 0, 1, 0, 100, 0), +(788880, 10, -2651.35, 5274.01, 1.39, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 1, -2581.13, 5427.21, 27.03, NULL, 0, 4300, 0, 0, 0, 100, 0), +(788890, 2, -2588.13, 5443.28, 27.21, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 3, -2577.21, 5453.19, 27.23, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 4, -2566.04, 5447.7, 27.23, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 5, -2562.82, 5433.89, 27.07, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 6, -2568.35, 5428.37, 26.93, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 7, -2578.62, 5425.68, 26.89, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 8, -2589.17, 5431.1, 27.19, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 9, -2589.68, 5445.89, 27.22, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 10, -2580.43, 5452.14, 27.22, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 11, -2565.28, 5448.77, 27.23, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 12, -2557.7, 5456.19, 22.02, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 13, -2551.29, 5463.67, 12.99, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 14, -2541.43, 5472.15, 8.24, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 15, -2527.79, 5467.77, 6.61, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 16, -2527.84, 5449.01, 0.47, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 17, -2541.7, 5431.57, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 18, -2551.25, 5411.33, 0.14, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 19, -2555.36, 5386.87, 0.67, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 20, -2562.8, 5367.73, 1.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 21, -2577.47, 5347.71, 6.34, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 22, -2597.33, 5323.35, 7.93, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 23, -2615.09, 5297.94, 8.07, NULL, 0, 0, 0, 1, 0, 100, 0), +(788890, 24, -2640.55, 5277.39, 2.86, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 1, -2580.72, 5428.29, 27.37, NULL, 0, 4100, 0, 0, 0, 100, 0), +(788900, 2, -2588.95, 5441.69, 27.21, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 3, -2574.12, 5451.66, 27.22, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 4, -2581.73, 5451.01, 27.23, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 5, -2565.6, 5448.7, 27.23, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 6, -2559.58, 5453.48, 25.27, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 7, -2551.68, 5463.32, 13.43, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 8, -2541.55, 5472.68, 8.24, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 9, -2532.2, 5467.63, 6.64, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 10, -2528.1, 5449.25, 0.52, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 11, -2538.35, 5437.27, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 12, -2548.18, 5425.4, 0.07, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 13, -2568.63, 5411.94, 0.13, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 14, -2597.41, 5388.63, 4.17, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 15, -2614.98, 5382.29, 6.4, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 16, -2625.03, 5380.9, 6.48, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 17, -2639.29, 5376.44, 6.31, NULL, 0, 0, 0, 1, 0, 100, 0), +(788900, 18, -2680.28, 5356.57, 5.22, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 1, -2528.93, 5386.23, 27.89, NULL, 0, 4300, 0, 0, 0, 100, 0), +(788910, 2, -2542.91, 5397.38, 22.36, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 3, -2558.61, 5412.24, 20.85, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 4, -2568.83, 5424.08, 26.53, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 5, -2563.55, 5435.52, 27.11, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 6, -2563.99, 5443.45, 27.2, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 7, -2562.24, 5452.13, 26.74, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 8, -2556.61, 5458.33, 19.62, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 9, -2551.94, 5463.01, 13.77, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 10, -2543.84, 5470.98, 8.25, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 11, -2533.59, 5471.74, 7.65, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 12, -2527.16, 5461.98, 4.29, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 13, -2526.97, 5448.45, 0.34, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 14, -2537.28, 5436.87, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 15, -2551.02, 5427.09, 0.08, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 16, -2565.85, 5412.04, 0.12, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 17, -2583.59, 5404.81, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 18, -2600.25, 5398.01, 2.5, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 19, -2619.49, 5383.12, 6.59, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 20, -2636.27, 5364.57, 7.34, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 21, -2648.83, 5339.09, 8.31, NULL, 0, 0, 0, 1, 0, 100, 0), +(788910, 22, -2659.34, 5324.12, 6.11, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 1, -2526.54, 5386.03, 28, NULL, 0, 4300, 0, 0, 0, 100, 0), +(788920, 2, -2541.79, 5396.5, 22.81, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 3, -2556.77, 5410.61, 20.41, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 4, -2569.05, 5423.15, 26.45, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 5, -2569.28, 5430.47, 27.66, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 6, -2562.46, 5437.3, 27.13, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 7, -2564.27, 5448.45, 27.24, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 8, -2558.24, 5456.63, 22.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 9, -2551.75, 5463.65, 13.26, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 10, -2544.75, 5470.87, 8.25, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 11, -2532.48, 5467.95, 6.73, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 12, -2525.97, 5455.23, 1.75, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 13, -2532, 5441.55, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 14, -2539.34, 5421.54, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 15, -2541.26, 5402.12, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 16, -2555.38, 5384.61, 0.69, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 17, -2555.96, 5365.88, 1.19, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 18, -2570.48, 5338.09, 5.77, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 19, -2601.68, 5305.66, 7.39, NULL, 0, 0, 0, 1, 0, 100, 0), +(788920, 20, -2639.14, 5282.21, 3.61, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 1, -2526.69, 5385.5, 28, NULL, 0, 4200, 0, 0, 0, 100, 0), +(788930, 2, -2553.54, 5407.93, 20, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 3, -2567.64, 5423.73, 26.43, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 4, -2587.05, 5429.76, 27.11, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 5, -2590.23, 5443.32, 27.22, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 6, -2580.62, 5451.95, 27.22, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 7, -2564.66, 5448.34, 27.23, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 8, -2555.16, 5459.95, 17.52, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 9, -2541.93, 5473.48, 8.25, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 10, -2531.85, 5471.28, 7.55, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 11, -2528.43, 5456.89, 2.54, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 12, -2540.07, 5433.36, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 13, -2546.4, 5408.71, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 14, -2554.42, 5378.38, 0.21, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 15, -2566.4, 5349.15, 4.56, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 16, -2579.83, 5332.08, 7.23, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 17, -2601.34, 5310.72, 7.8, NULL, 0, 0, 0, 1, 0, 100, 0), +(788930, 18, -2637.59, 5284.91, 4.21, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 1, -2527.29, 5388.45, 27.43, NULL, 0, 5500, 0, 0, 0, 100, 0), +(788940, 2, -2544.59, 5398.88, 21.63, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 3, -2557.86, 5411.7, 20.68, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 4, -2569.46, 5423.86, 26.54, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 5, -2563.91, 5433.47, 27.08, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 6, -2564.83, 5445.85, 27.22, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 7, -2559.72, 5453.81, 25.18, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 8, -2551.72, 5462.84, 13.76, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 9, -2538.92, 5475.14, 8.24, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 10, -2528.99, 5464.13, 5.3, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 11, -2528.59, 5445.83, 0.13, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 12, -2540.34, 5429.58, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 13, -2546.54, 5413.92, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 14, -2558.96, 5412.79, 0.44, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 15, -2578.78, 5408.97, 0.26, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 16, -2594.06, 5399.97, 0.84, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 17, -2612.15, 5391.86, 5.56, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 18, -2636.57, 5371.05, 6.76, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 19, -2654.98, 5348.35, 8.33, NULL, 0, 0, 0, 1, 0, 100, 0), +(788940, 20, -2664.93, 5316.19, 3.27, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 1, -2526.06, 5386.78, 28, NULL, 0, 4000, 0, 0, 0, 100, 0), +(788950, 2, -2539.92, 5394.87, 23.97, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 3, -2550.3, 5404.18, 20.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 4, -2559.88, 5414.38, 21.42, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 5, -2566.37, 5420.8, 25.5, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 6, -2568.76, 5426.79, 26.8, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 7, -2562.41, 5443.68, 27.2, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 8, -2562.2, 5451.64, 26.89, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 9, -2557.76, 5457.65, 20.94, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 10, -2545.74, 5471.64, 8.26, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 11, -2533.56, 5471.66, 7.63, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 12, -2527.52, 5455.35, 1.93, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 13, -2533.06, 5440.06, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 14, -2539.85, 5424.14, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 15, -2542.62, 5405.85, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 16, -2544.75, 5385.91, 0.06, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 17, -2554.78, 5363.56, 1.37, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 18, -2564.89, 5344.46, 4.41, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 19, -2582.81, 5324.69, 7.23, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 20, -2600.1, 5300.14, 7.04, NULL, 0, 0, 0, 1, 0, 100, 0), +(788950, 21, -2632.02, 5285.56, 6.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 1, -2529.14, 5386.44, 27.81, NULL, 0, 6000, 0, 0, 0, 100, 0), +(788960, 2, -2544.44, 5398.58, 21.74, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 3, -2554.55, 5408.15, 20, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 4, -2570.18, 5423.7, 26.57, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 5, -2564.58, 5433.9, 27.13, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 6, -2563.93, 5446.11, 27.22, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 7, -2557.33, 5457.67, 20.63, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 8, -2544.88, 5471.38, 8.26, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 9, -2532.4, 5468.3, 6.82, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 10, -2528.31, 5452.83, 1.28, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 11, -2539.43, 5433.48, 0.04, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 12, -2543.13, 5417.98, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 13, -2542.92, 5399.31, 0.05, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 14, -2552.01, 5385.07, 0.4, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 15, -2556.41, 5367.65, 0.99, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 16, -2560.1, 5350.49, 2.91, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 17, -2572.02, 5333.33, 6.04, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 18, -2593.24, 5307.29, 7.36, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 19, -2629.55, 5288.92, 7.17, NULL, 0, 0, 0, 1, 0, 100, 0), +(788960, 20, -2647.88, 5279.45, 2.38, NULL, 0, 0, 0, 1, 0, 100, 0); diff --git a/src/server/scripts/World/go_scripts.cpp b/src/server/scripts/World/go_scripts.cpp index d09b37f17c..1d913171a4 100644 --- a/src/server/scripts/World/go_scripts.cpp +++ b/src/server/scripts/World/go_scripts.cpp @@ -1646,42 +1646,6 @@ public: } }; -/*######## -#### go_veil_skith_cage -#####*/ - -enum MissingFriends -{ - QUEST_MISSING_FRIENDS = 10852, - NPC_CAPTIVE_CHILD = 22314, - SAY_FREE_0 = 0, -}; - -class go_veil_skith_cage : public GameObjectScript -{ -public: - go_veil_skith_cage() : GameObjectScript("go_veil_skith_cage") { } - - bool OnGossipHello(Player* player, GameObject* go) override - { - go->UseDoorOrButton(); - if (player->GetQuestStatus(QUEST_MISSING_FRIENDS) == QUEST_STATUS_INCOMPLETE) - { - std::list childrenList; - GetCreatureListWithEntryInGrid(childrenList, go, NPC_CAPTIVE_CHILD, INTERACTION_DISTANCE); - for (std::list::const_iterator itr = childrenList.begin(); itr != childrenList.end(); ++itr) - { - player->KilledMonsterCredit(NPC_CAPTIVE_CHILD, (*itr)->GetGUID()); - (*itr)->DespawnOrUnsummon(5s); - (*itr)->GetMotionMaster()->MovePoint(1, go->GetPositionX() + 5, go->GetPositionY(), go->GetPositionZ()); - (*itr)->AI()->Talk(SAY_FREE_0); - (*itr)->GetMotionMaster()->Clear(); - } - } - return false; - } -}; - /*#### ## go_bells ####*/ @@ -1907,6 +1871,5 @@ void AddSC_go_scripts() new go_amberpine_outhouse(); new go_hive_pod(); new go_massive_seaforium_charge(); - new go_veil_skith_cage(); new go_bells(); }