- REPLACE INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
- ('74875','0','0','Амненнар восстанет из мёртвых!','14','0','0','0','0','46219','Death Speaker Blackthorn - Yell Agrro'),
- ('74875','1','0','Мои друзья займутся вами.','14','0','0','0','0','46224','Death Speaker Blackthorn - Yell on Summon Skeleton 1'),
- ('74875','2','0','Еще немного... Развлеките пока моих гостей.','14','0','0','0','0','46225','Death Speaker Blackthorn - Yell on Summon Skeleton 2'),
- ('74875','3','0','Слишком... поздно. С моей смертью Амненнар переродился…','14','0','0','0','0','46220','Death Speaker Blackthorn - Yell on Death'),
- ('74875','4','4','Ахаха, твоя душа теперь моя!','14','0','0','0','0','46221','Death Speaker Blackthorn - Yell on Kill 1'),
- ('74875','5','4','Ты больше не будешь мне мешать!','14','0','0','0','0','46222','Death Speaker Blackthorn - Yell on Kill 2'),
- ('74875','6','4','Вы боретесь с неизбежным','14','0','0','0','0','46223','Death Speaker Blackthorn - Yell on Kill 3');
- -- Death Speaker Blackthorn SAI
- SET @ENTRY := 74875;
- UPDATE `creature_template` SET `AIName`='SmartAI',`ScriptName`='' WHERE `entry` = 74875;
- 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,4,0,100,2,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Death Speaker Blackthorn - Yell on Aggro."),
- (@ENTRY,0,1,0,0,0,100,2,1000,1000,1000,1000,45,1,1,0,0,0,0,1,0,0,0,0,0,0,0,"Death Speaker Blackthorn - Set Data 1 1 for health check."),
- (@ENTRY,0,2,0,0,0,100,2,1000,1000,1000,1000,45,1,2,0,0,0,0,1,0,0,0,0,0,0,0,"Death Speaker Blackthorn - Set Data 1 2 for health check."),
- (@ENTRY,0,3,0,0,0,100,2,6000,6000,12000,14000,11,151962,0,0,0,0,0,2,0,0,0,0,0,0,0,"Death Speaker Blackthorn - Cast Shockwave."),
- (@ENTRY,0,4,0,0,0,100,2,10000,10000,10000,10000,11,150615,66,0,0,0,0,5,0,0,0,0,0,0,0,"Death Speaker Blackthorn - Cast Searing Shadows."),
- (@ENTRY,0,5,0,38,0,100,3,1,1,0,0,11,150601,1,0,0,0,0,1,0,0,0,0,0,0,0,"Death Speaker Blackthorn - On Data Set 1 1 - Cast Summon Skeletons"),
- (@ENTRY,0,6,0,38,0,100,1,1,1,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Death Speaker Blackthorn - On Data Set 1 1 - Yell Summon Skeleton."),
- (@ENTRY,0,7,0,38,0,100,1,1,1,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Death Speaker Blackthorn - On Data Set 1 2 - Yell Summon Skeleton."),
- (@ENTRY,0,8,0,38,0,100,3,1,2,0,0,11,150601,1,0,0,0,0,1,0,0,0,0,0,0,0,"Death Speaker Blackthorn - On Data Set 1 1 - Cast Summon Skeletons"),
- (@ENTRY,0,9,0,38,0,100,2,1,3,5000,5000,11,150550,0,0,0,0,0,7,0,0,0,0,0,0,0,"Death Speaker Blackthorn - On Data Set 1 3 - Cast Shadowmend"),
- (@ENTRY,0,10,0,6,0,100,2,0,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Death Speaker Blackthorn - On Death - Yell Death."),
- (@ENTRY,0,11,0,5,0,100,2,0,0,1,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Death Speaker Blackthorn - On Kill - Yell Kill.");
- -- Conditions generated by SAI-Editor
- DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=7 AND `SourceEntry`=74875;
- INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
- (22,7,74875,0,0,38,1,66,4,0,0,"","Allow SAI only if health percent low or equal 66 %."),
- (22,8,74875,0,0,38,1,33,4,0,0,"","Allow SAI only if health percent low or equal 33 %."),
- (22,10,74875,0,0,38,0,50,4,0,0,"","Allow SAI only invoker health percent low or equal 50 %.");
- -- Splinterbone Warrior SAI
- SET @ENTRY := 74902;
- UPDATE `creature_template` SET `AIName`='SmartAI',`ScriptName`='' WHERE `entry` = 74875;
- 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,2,8000,8000,8000,8000,11,150332,2,0,0,0,0,2,0,0,0,0,0,0,0,"Splinterbone Warrior - Cast Disrupting Dash"),
- (@ENTRY,0,1,0,0,0,100,2,10000,10000,6000,7000,11,151010,2,0,0,0,0,2,0,0,0,0,0,0,0,"Splinterbone Warrior - Cast Shield Smash"),
- (@ENTRY,0,2,0,0,0,100,2,2500,2500,5000,5000,45,1,3,0,0,0,0,23,0,0,0,0,0,0,0,"Splinterbone Warrior - Set Data 1 3 Death Speaker Blackthorn for Shadowmend spell.");
- -- Conditions generated by SAI-Editor
- DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=7 AND `SourceEntry`=74902;
- INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
- (22,3,74902,0,0,38,1,50,4,0,0,"","Allow SAI only if health percent low or equal 50 %.");
Death Speaker Blackthorn.