*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

View File

@@ -11187,11 +11187,8 @@ Unit* Creature::SelectVictim()
// search nearby enemy before enter evade mode
if(HasReactState(REACT_AGGRESSIVE))
{
target = SelectNearestTarget();
if(target && !IsOutOfThreatArea(target))
if(target = SelectNearestTarget())
return target;
}
if(m_invisibilityMask)
{