mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 02:04:52 +01:00
*Fixed 34700
*Set random target select for summoned creatures in Laj - by Iskander --HG-- branch : trunk
This commit is contained in:
@@ -144,6 +144,12 @@ struct TRINITY_DLL_DECL boss_lajAI : public ScriptedAI
|
||||
{
|
||||
}
|
||||
|
||||
void JustSummoned(Creature *summon)
|
||||
{
|
||||
if(summon && m_creature->getVictim())
|
||||
summon->AI()->AttackStart(SelectUnit(SELECT_TARGET_RANDOM, 0));
|
||||
}
|
||||
|
||||
void UpdateAI(const uint32 diff)
|
||||
{
|
||||
if( !m_creature->SelectHostilTarget() || !m_creature->getVictim() )
|
||||
|
||||
Reference in New Issue
Block a user