*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 committed 2009-08-15 14:30:14 -05:00
1 parent bc7f37fe1c
commit e03b7cd4d7
5 files changed
+17 -20

No files matched your search

+1 -4
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)
{