diff options
-rw-r--r-- | sql/updates/world/master/2021_12_05_30_world_2019_05_15_09_world_335.sql | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_12_05_30_world_2019_05_15_09_world_335.sql b/sql/updates/world/master/2021_12_05_30_world_2019_05_15_09_world_335.sql new file mode 100644 index 00000000000..e1652eb6011 --- /dev/null +++ b/sql/updates/world/master/2021_12_05_30_world_2019_05_15_09_world_335.sql @@ -0,0 +1,21 @@ +-- Troyas Moonbreeze +DELETE FROM `smart_scripts` WHERE `entryorguid`=7764 AND `source_type`=0 AND `id` IN (1,2,3); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (776400,776401) 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 +(7764,0,1,0,40,0,100,0,1,7764,0,0,80,776401,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Waypoint 1 Reached - Run Script"), +(7764,0,2,0,40,0,100,0,2,7764,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.951991,"Troyas Moonbreeze - On Waypoint 2 Reached - Set Orientation"), +(7764,0,3,0,40,0,100,0,2,7764,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Waypoint 2 Reached - Add Npc Flag Questgiver"), +(776400,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Script - Remove Npc Flag Questgiver"), +(776400,9,1,0,0,0,100,0,1000,1000,0,0,53,0,7764,0,0,0,2,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Script - Start Waypoint"), +(776400,9,2,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Script - Say Line 0"), +(776401,9,0,0,0,0,100,0,0,0,0,0,54,7000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Script - Pause Waypoint"), +(776401,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.99471,"Troyas Moonbreeze - On Script - Set Orientation"), +(776401,9,2,0,0,0,100,0,1000,1000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Script - Say Line 1"), +(776401,9,3,0,0,0,100,0,4000,4000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Troyas Moonbreeze - On Script - Say Line 2"); + +DELETE FROM `waypoints` WHERE `entry`=7764; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(7764,1,-4476.23,3230.55,13.7301,""), +(7764,2,-4474.9,3232.88,13.7295,""); + +UPDATE `creature_text` SET `Emote`=0 WHERE `CreatureID`=7764 AND `GroupID`=2; |