diff options
author | offl <11556157+offl@users.noreply.github.com> | 2022-02-17 23:35:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-17 23:35:08 +0200 |
commit | 75db924e91ec52661151040bf2aa8f69a312238a (patch) | |
tree | 35ccbd26b1ac78b0cfe2b0ddb698d12969cc8204 /sql | |
parent | 951d7d3a58ceab286a903a4a68185fd045deb33a (diff) |
Scripts/Spells: Script A Mysterious Voice from Ahn'kahet (#27779)
Closes #25683
Diffstat (limited to 'sql')
-rw-r--r-- | sql/updates/world/3.3.5/2022_02_17_01_world.sql | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2022_02_17_01_world.sql b/sql/updates/world/3.3.5/2022_02_17_01_world.sql new file mode 100644 index 00000000000..ab1e1c55011 --- /dev/null +++ b/sql/updates/world/3.3.5/2022_02_17_01_world.sql @@ -0,0 +1,23 @@ +-- +UPDATE `spell_script_names` SET `ScriptName` = 'spell_ahnkahet_combined_toxins' WHERE `ScriptName` = 'spell_combined_toxins'; +UPDATE `spell_script_names` SET `ScriptName` = 'spell_ahnkahet_shadow_blast' WHERE `ScriptName` = 'spell_shadow_blast'; +UPDATE `spell_script_names` SET `ScriptName` = 'spell_ahnkahet_shadow_sickle' WHERE `ScriptName` = 'spell_shadow_sickle'; + +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_ahnkahet_yogg_saron_whisper'; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(58906,'spell_ahnkahet_yogg_saron_whisper'), +(58908,'spell_ahnkahet_yogg_saron_whisper'), +(58909,'spell_ahnkahet_yogg_saron_whisper'), +(58910,'spell_ahnkahet_yogg_saron_whisper'); + +DELETE FROM `creature_text` WHERE `CreatureID` = 31264; +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 31264; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 31264 AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` BETWEEN 3126400 AND 3126403 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 +(31264,0,0,0,60,0,100,0,300000,600000,300000,600000,0,88,3126400,3126403,0,0,0,0,1,0,0,0,0,0,0,0,0,"A Mysterious Voice - On Update - Run Random Script"), + +(3126400,9,0,0,0,0,100,0,0,0,0,0,0,11,58906,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"A Mysterious Voice - On Script - Cast 'Creature - Yogg-Saron Whisper'"), +(3126401,9,0,0,0,0,100,0,0,0,0,0,0,11,58908,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"A Mysterious Voice - On Script - Cast 'Creature - Yogg-Saron Whisper'"), +(3126402,9,0,0,0,0,100,0,0,0,0,0,0,11,58909,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"A Mysterious Voice - On Script - Cast 'Creature - Yogg-Saron Whisper'"), +(3126403,9,0,0,0,0,100,0,0,0,0,0,0,11,58910,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"A Mysterious Voice - On Script - Cast 'Creature - Yogg-Saron Whisper'"); |