*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:
1 parent
bc7f37fe1c
commit
e03b7cd4d7
5 files changed
+17
-20
No files matched your search
+1
-4
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user