DB/SAI: Chief Plaguebringer Harris

(cherry picked from commit 38afb55b88)
This commit is contained in:
Killyana
2018-02-16 02:22:36 +01:00
committed by Shauren
parent 4b6e76a5ef
commit 02a01b1643

View File

@@ -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");