diff options
-rw-r--r-- | sql/updates/world/2011_03_17_4_world_sai.sql | 2 | ||||
-rw-r--r-- | sql/updates/world/2011_03_17_7_world_sai.sql | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/sql/updates/world/2011_03_17_4_world_sai.sql b/sql/updates/world/2011_03_17_4_world_sai.sql index deb5896685d..8494c2c2649 100644 --- a/sql/updates/world/2011_03_17_4_world_sai.sql +++ b/sql/updates/world/2011_03_17_4_world_sai.sql @@ -4,7 +4,7 @@ SET @AURA := 17327; SET @SPELL1 := 37361; SET @SPELL2 := 24050; UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY; -DELETE FROM `creature_ai_scripts` WHERE `creature_id`=0 AND `entryorguid`=@ENTRY; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@ENTRY; DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY; 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 (@ENTRY,0,0,0,23,0,100,0,@AURA,0,2000,2000,11,@AURA,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lost Drakkari Spirit - Aura Spirit Particles not present - Add Aura Spirit Particles'), diff --git a/sql/updates/world/2011_03_17_7_world_sai.sql b/sql/updates/world/2011_03_17_7_world_sai.sql new file mode 100644 index 00000000000..9d1ea279ebd --- /dev/null +++ b/sql/updates/world/2011_03_17_7_world_sai.sql @@ -0,0 +1,8 @@ +-- Fel Cannon MKI SAI +SET @ENTRY := 22461; +SET @SPELL1 := 36238; -- Fel Cannon Blast +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY; +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 +(@ENTRY,0,0,0,1,0,100,1,1000,1000,1000,1000,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Fel Cannon MKI - OOC - Prevent Combat Movement'), +(@ENTRY,0,1,0,0,0,100,0,0,1000,2500,2500,11,@SPELL1,1,0,0,0,0,2,0,0,0,0,0,0,0,'Fel Cannon MKI - Combat - Cast Fel Cannon Blast'); |