Core/SmartAI: Add passive check for WP movement
This commit is contained in:
1 parent
56886a8990
commit
c84f545708
1 file changed
+1
-1
@@ -312,7 +312,7 @@ void SmartAI::UpdatePath(const uint32 diff)
|
||||
mWPReached = false;
|
||||
}
|
||||
}
|
||||
if (me->IsInCombat() || HasEscortState(SMART_ESCORT_PAUSED | SMART_ESCORT_RETURNING))
|
||||
if ((!me->HasReactState(REACT_PASSIVE) && me->IsInCombat()) || HasEscortState(SMART_ESCORT_PAUSED | SMART_ESCORT_RETURNING))
|
||||
return;
|
||||
// handle next wp
|
||||
if (mWPReached)//reached WP
|
||||
|
||||
Reference in new issue
Block a user