From 02a01b1643a8b3ca78e4e11f9ede2e5a24883ba7 Mon Sep 17 00:00:00 2001 From: Killyana Date: Fri, 16 Feb 2018 02:22:36 +0100 Subject: DB/SAI: Chief Plaguebringer Harris (cherry picked from commit 38afb55b882f51697b5475b9e3d94277bcc1e31f) --- .../world/master/2021_06_22_00_world_2018_02_16_00_world.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sql/updates/world/master/2021_06_22_00_world_2018_02_16_00_world.sql (limited to 'sql') 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"); -- cgit v1.2.3