diff options
| author | offl <11556157+offl@users.noreply.github.com> | 2021-11-01 18:11:39 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-03-21 00:22:02 +0100 |
| commit | 6d36a4f77abc031cb7dcb262e4ac8a339c1c2c0a (patch) | |
| tree | 2d7bd18ffb3a0ed7be5f0a29b13dda9deccfe034 /sql | |
| parent | 77bb4d2619f5b9409cb7173d34ebce4ffaf0cb9c (diff) | |
Scripts/Quest: Make 'Search and Rescue' less hacky (#27227)
(cherry picked from commit 6e07acbbdeb5fdc3072af480175267ca5969efc2)
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/world/master/2022_03_20_29_world_2021_11_01_03_world.sql | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_03_20_29_world_2021_11_01_03_world.sql b/sql/updates/world/master/2022_03_20_29_world_2021_11_01_03_world.sql new file mode 100644 index 00000000000..f503b2e5808 --- /dev/null +++ b/sql/updates/world/master/2022_03_20_29_world_2021_11_01_03_world.sql @@ -0,0 +1,14 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid` = 27909 AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` BETWEEN 2790900 AND 2790902 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`,`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 +(27909,0,0,0,37,0,100,0,0,0,0,0,0,116,10,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Darkweb Victim - On AI Initialize - Set Corpse Delay"), +(27909,0,1,0,37,0,100,0,0,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Darkweb Victim - On AI Initialize - Set Reactstate Passive"), +(27909,0,2,0,11,0,100,0,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Darkweb Victim - On Spawn - Set Event Phase 1"), +(27909,0,3,0,38,0,100,0,1,1,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Darkweb Victim - On Data Set 1 1 - Set Event Phase 2"), +(27909,0,4,0,6,1,100,0,0,0,0,0,0,11,49960,2,0,0,0,0,1,0,0,0,0,0,0,0,0,"Darkweb Victim - On Death - Cast 'Summon Random Drakkari' (Phase 1)"), +(27909,0,5,0,6,2,100,0,0,0,0,0,0,11,49952,2,0,0,0,0,1,0,0,0,0,0,0,0,0,"Darkweb Victim - On Death - Cast 'Summon Kurzel' (Phase 2)"); + +DELETE FROM `spell_script_names` WHERE `spell_id` = 49960 AND `ScriptName` = 'spell_summon_random_drakkari'; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(49960,'spell_summon_random_drakkari'); |
