*Change react state of guardian back to aggressive. Instead check threat radius in canstartattack to prevent them attack too far target.
--HG-- branch : trunk
This commit is contained in:
@@ -306,7 +306,7 @@ HostilReference* ThreatContainer::selectNextVictim(Creature* pAttacker, HostilRe
|
||||
}
|
||||
}
|
||||
|
||||
if(!pAttacker->IsOutOfThreatArea(target)) // skip non attackable currently targets
|
||||
if(pAttacker->canCreatureAttack(target)) // skip non attackable currently targets
|
||||
{
|
||||
if(pCurrentVictim) // select 1.3/1.1 better target in comparison current target
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user