diff options
| author | ZenoX92 <ZenoX92@users.noreply.github.com> | 2017-09-30 16:38:18 +0200 |
|---|---|---|
| committer | Killyana <morphone1@gmail.com> | 2017-09-30 16:38:18 +0200 |
| commit | cd327142442cb3967d01db732145d48377499a9c (patch) | |
| tree | 77eed62255f035eae96a1f4931f4a23fba042b16 | |
| parent | 8add39a1aa52f035727ef0eaf12bb9f771c4138a (diff) | |
DB/Quest: Winterfall Runners
Closes #20485
| -rw-r--r-- | sql/updates/world/3.3.5/2017_09_30_17_world_335.sql | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2017_09_30_17_world_335.sql b/sql/updates/world/3.3.5/2017_09_30_17_world_335.sql new file mode 100644 index 00000000000..ea819267666 --- /dev/null +++ b/sql/updates/world/3.3.5/2017_09_30_17_world_335.sql @@ -0,0 +1,49 @@ +-- Quest "Winterfall Runners" --> Add Completion Event +-- Donova Snowden +DELETE FROM `creature_text` WHERE `CreatureID`=9298; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(9298,0,0,"%s looks around nervously.",16,0,100,0,0,0,6231,0,"Donova Snowden"), +(9298,1,0,"Are you sure you weren\'t followed here? I have a very bad feeling all of a sudden...",12,0,100,6,0,0,6232,0,"Donova Snowden"), +(9298,2,0,"Be on your guard!",14,0,100,5,0,0,6233,0,"Donova Snowden"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=9298; +DELETE FROM `smart_scripts` WHERE `entryorguid`=9298 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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(9298,0,0,0,20,0,100,0,5087,0,0,0,80,929800,0,0,0,0,0,1,0,0,0,0,0,0,0,"Donova Snowden - On Quest \'Winterfall Runners\' Finished - Run Script"), +(9298,0,1,0,40,0,100,0,1,9298,0,0,80,929801,0,0,0,0,0,1,0,0,0,0,0,0,0,"Donova Snowden - On Waypoint 1 Reached - Run Script"), +(9298,0,2,0,40,0,100,0,2,9298,0,0,66,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Donova Snowden - On Waypoint 2 Reached - Set Orientation"); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (929800, 929801) 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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(929800,9,0,0,0,0,100,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Donova Snowden - On Script - Remove Npc Flag Questgiver+Gossip"), +(929800,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Donova Snowden - On Script - Say Line 0"), +(929800,9,2,0,0,0,100,0,2000,2000,0,0,1,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Donova Snowden - On Script - Say Line 1"), +(929800,9,3,0,0,0,100,0,4000,4000,0,0,53,0,9298,0,0,0,0,1,0,0,0,0,0,0,0,"Donova Snowden - On Script - Start Waypoint"), +(929801,9,0,0,0,0,100,0,0,0,0,0,54,4000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Donova Snowden - On Script - Pause Waypoint"), +(929801,9,1,0,0,0,100,0,1000,1000,0,0,107,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Donova Snowden - On Script - Summon Group 1"), +(929801,9,2,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.64922,"Donova Snowden - On Script - Set Orientation"), +(929801,9,3,0,0,0,100,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Donova Snowden - On Script - Set Run On"), +(929801,9,4,0,0,0,100,0,2000,2000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Donova Snowden - On Script - Say Line 2"), +(929801,9,5,0,0,0,100,0,10000,10000,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Donova Snowden - On Script - Add Npc Flag Questgiver+Gossip"); + +DELETE FROM `creature_summon_groups` WHERE `summonerId`=9298; +INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`) VALUES +(9298,0,1,14372,6390.48,-2475.06,541.658,4.25282,3,180000), +(9298,0,1,14372,6393.32,-2468.99,541.812,4.25282,3,180000), +(9298,0,1,14372,6387.13,-2481.36,540.824,4.25282,3,180000); + +DELETE FROM `waypoints` WHERE `entry` IN (9298, 14372); +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(9298,1,6379.99,-2527.63,536.729,''), +(9298,2,6395.57,-2536.75,541.548,''), +(14372,1,6378.32,-2501.16,537.467,''), +(14372,2,6376.79,-2520.54,535.867,''); + +-- Winterfall Ambusher +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14372; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14372 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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(14372,0,0,0,54,0,100,0,0,0,0,0,53,1,14372,0,0,0,0,1,0,0,0,0,0,0,0,"Winterfall Ambusher - Just Summoned - Start Waypoint"), +(14372,0,1,2,40,0,100,0,2,14372,0,0,49,0,0,0,0,0,0,21,50,0,0,0,0,0,0,"Winterfall Ambusher - On Waypoint 2 Reached - Start Attack"), +(14372,0,2,0,61,0,100,0,0,0,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Winterfall Ambusher - On Waypoint 2 Reached - Set Home Position"), +(14372,0,3,0,1,0,100,0,1000,1000,1200000,1200000,11,17205,0,0,0,0,0,1,0,0,0,0,0,0,0,"Winterfall Ambusher - Out of Combat - Cast Winterfall Firewater"); |
