aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2017-01-02 12:20:50 +0100
committerDoctorKraft <DoctorKraft@users.noreply.github.com>2018-03-18 00:19:51 +0100
commit514cbbb6fa89c8ea8c253338e52dcb18339298e5 (patch)
tree92ffac7d312671c5b1652c6ca726ebd584807508 /sql
parent2ce07f303b6ee66bc16102d51f550cf0ce4ef0a9 (diff)
DB/SAI: Rot Hide Gnoll
Closes #18715 By Rushor (cherry picked from commit e8f44fae4488045cab1e5f0c5f66f8f8fcbb63bb)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2018_03_17_55_world_2017_01_02_05_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/master/2018_03_17_55_world_2017_01_02_05_world.sql b/sql/updates/world/master/2018_03_17_55_world_2017_01_02_05_world.sql
new file mode 100644
index 00000000000..18d952eebbc
--- /dev/null
+++ b/sql/updates/world/master/2018_03_17_55_world_2017_01_02_05_world.sql
@@ -0,0 +1,7 @@
+-- Rot Hide Gnoll SAI
+SET @ENTRY := 1674;
+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,7000,21000,120000,125000,11,3237,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rot Hide Gnoll - In Combat - Cast 'Curse of Thule'"),
+(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Rot Hide Gnoll - Between 0-15% Health - Flee For Assist (No Repeat)");