[7723] New AI call EnterCombat called at enter creature to combat (and re-enter if leave by some reason). Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
@@ -793,10 +793,6 @@ struct TRINITY_DLL_DECL mob_toxic_sporebatAI : public ScriptedAI
|
||||
|
||||
void UpdateAI (const uint32 diff)
|
||||
{
|
||||
|
||||
/*if(!m_creature->isInCombat())
|
||||
m_creature->SetInCombatState(false);*/
|
||||
|
||||
//Random movement
|
||||
if (movement_timer < diff)
|
||||
{
|
||||
|
||||
+1
-1
@@ -357,7 +357,7 @@ struct TRINITY_DLL_DECL boss_the_lurker_belowAI : public Scripted_NoMovementAI
|
||||
}else PhaseTimer-=diff;
|
||||
|
||||
if(!m_creature->isInCombat())
|
||||
m_creature->SetInCombatState(false);
|
||||
DoZoneInCombat();
|
||||
|
||||
if(!Spawned)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user