diff options
author | Aokromes <Aokromes@users.noreply.github.com> | 2024-03-29 19:20:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-29 19:20:35 +0100 |
commit | 14d15a7045b86e8437587a5ae98cc071776b18d2 (patch) | |
tree | 5139547ef78f716453fb392d19d3e0ca996cd623 | |
parent | 4aaf75693f2ea8f9428eb30901d36b5fc8c51807 (diff) |
DB/Npc: Captured Sunhawk Agent
closes #29840 by Jonne733
-rw-r--r-- | sql/updates/world/3.3.5/2024_03_29_12_world.sql | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2024_03_29_12_world.sql b/sql/updates/world/3.3.5/2024_03_29_12_world.sql new file mode 100644 index 00000000000..7b6534f86f8 --- /dev/null +++ b/sql/updates/world/3.3.5/2024_03_29_12_world.sql @@ -0,0 +1,12 @@ +-- Captured Sunhawk Agent missing dialogue after interrogation +-- Script +UPDATE `smart_scripts` SET `link`=2 WHERE `entryorguid`=17824 AND `id`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 17824 AND `id` IN (2,3); +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`,`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 +(17824,0,2,3,61,0,100,0,0,0,0,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Captured Sunhawk Agent - On Link - Set Orientation Invoker"), +(17824,0,3,0,61,0,100,0,9141,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,'Captured Sunhawk Agent - On Link - Say Text 0'); + +-- Creature text +DELETE FROM `creature_text` WHERE `CreatureID`=17824; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(17824,0,0,"Treacherous whelp! Sironas will destroy you and your people!",12,7,100,5,0,0,14637,0,"Captured Sunhawk Agent"); |