*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:
megamage
2009-08-15 14:30:14 -05:00
parent bc7f37fe1c
commit e03b7cd4d7
5 changed files with 17 additions and 20 deletions
+1 -1
View File
@@ -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
{