aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2018-02-16 02:22:36 +0100
committerShauren <shauren.trinity@gmail.com>2021-06-22 13:02:41 +0200
commit02a01b1643a8b3ca78e4e11f9ede2e5a24883ba7 (patch)
tree2306f0e968e2e474c67891c933252fad871eabe5
parent4b6e76a5efe5e48ff20b4ef84e0f3dc0f9bc84a0 (diff)
DB/SAI: Chief Plaguebringer Harris
(cherry picked from commit 38afb55b882f51697b5475b9e3d94277bcc1e31f)
-rw-r--r--sql/updates/world/master/2021_06_22_00_world_2018_02_16_00_world.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_06_22_00_world_2018_02_16_00_world.sql b/sql/updates/world/master/2021_06_22_00_world_2018_02_16_00_world.sql
new file mode 100644
index 00000000000..35cdaf23c53
--- /dev/null
+++ b/sql/updates/world/master/2021_06_22_00_world_2018_02_16_00_world.sql
@@ -0,0 +1,12 @@
+-- Chief Plaguebringer Harris SAI
+SET @ENTRY := 24251;
+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,4000,8000,10000,12000,11,16432,0,0,0,0,0,5,0,0,0,0,0,0,0,"Chief Plaguebringer Harris - In Combat - Cast 'Plague Mist'"),
+(@ENTRY,0,1,0,0,0,100,0,6000,8000,10000,15000,11,34095,0,0,0,0,0,5,0,0,0,0,0,0,0,"Chief Plaguebringer Harris - In Combat - Cast 'Throw Proximity Bomb'"),
+(@ENTRY,0,2,0,2,0,100,1,10,15,0,0,11,5782,0,0,0,0,0,5,0,0,0,0,0,0,0,"Chief Plaguebringer Harris - Between 10-15% Health - Cast 'Fear'");
+
+DELETE FROM `creature_text` WHERE `CreatureID`=24251 AND `GroupID`=0 AND `ID`=2;
+INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
+(24251, 0, 2, "Steady your hand, you fool! Those are rare components you're spilling on the floor!", 14, 0, 100, 0, 0, 0, 23100, 0, "Chief Plaguebringer Harris");