aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRushor <PBienati@web.de>2015-07-19 01:47:54 +0100
committerDDuarte <dnpd.dd@gmail.com>2015-07-19 01:47:54 +0100
commite1739bbcf0a481cd29b9a2264180ece01a1fef30 (patch)
treee06bbcf816b92bca78b760e9f7732e1637812902
parent075258bdf16f891b4e5ca4f84a054a35e595b601 (diff)
DB/SAI: Anub'ar Ambusher
*update Comments, range of spell 'rush', add visual 'Digging through Snow' (cherry picked from commit 0edb218435362860fec5501722724182eb907b14)
-rw-r--r--sql/updates/world/2015_07_19_04_world_2015_07_17_00.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/2015_07_19_04_world_2015_07_17_00.sql b/sql/updates/world/2015_07_19_04_world_2015_07_17_00.sql
new file mode 100644
index 00000000000..0a9d5209be4
--- /dev/null
+++ b/sql/updates/world/2015_07_19_04_world_2015_07_17_00.sql
@@ -0,0 +1,9 @@
+--
+-- Anub'ar Ambusher SAI
+SET @ENTRY := 26402;
+UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
+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,4,0,100,1,0,0,0,0,11,50347,0,0,0,0,0,2,0,0,0,0,0,0,0,"Anub'ar Ambusher - On Aggro - Cast 'Rush' (No Repeat)"),
+(@ENTRY,0,1,0,9,0,100,0,9,14,9000,12000,11,50347,0,0,0,0,0,5,0,0,0,0,0,0,0,"Anub'ar Ambusher - Within 9-14 Range - Cast 'Rush'"),
+(@ENTRY,0,2,0,1,0,100,0,2000,3000,8000,16000,11,46977,0,0,0,0,0,1,0,0,0,0,0,0,0,"Anub'ar Ambusher - Out of Combat - Cast 'Digging through Snow'");