aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorRushor <Rushor@users.noreply.github.com>2016-02-09 21:18:58 +0100
committerDDuarte <dnpd.dd@gmail.com>2016-04-03 20:18:33 +0100
commit1bf8e32b40e198760797e17772a26c07b4830b55 (patch)
tree440b47b3a967e61b12b82f2cb2e77b74ecfeafab /sql
parent2a0582c3f2bd6a4f3c66a0cdca6ec927ddcbc908 (diff)
Merge pull request #16486 from Rushor/spiderman
[3.3.5][6.x]Scripts/Karazhan: Implement Optional Boss Spawn (cherry picked from commit c8f34656ef0ec0496e3d129b92ec389748b8caf5)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/2016_08_08_08_world.sql14
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/world/2016_08_08_08_world.sql b/sql/updates/world/2016_08_08_08_world.sql
new file mode 100644
index 00000000000..03fe998cca5
--- /dev/null
+++ b/sql/updates/world/2016_08_08_08_world.sql
@@ -0,0 +1,14 @@
+-- Karazhan Optional Boss spawn
+-- Hyakiss the Lurker SAI
+SET @ENTRY := 16179;
+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,0,0,100,0,5000,5000,35000,35000,11,29901,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hyakiss the Lurker - In Combat - Cast 'Acidic Fang'");
+
+-- Rokad the Ravager SAI
+SET @ENTRY := 16181;
+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,0,0,100,0,2000,3000,12000,15000,11,29906,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rokad the Ravager - In Combat - Cast 'Ravage'");