fix: Fixes movement pathing while in combat (#2271)
This commit is contained in:
parent
051f22ff93
commit
ee1a40bb51
8 changed files with 10 additions and 16 deletions
|
|
@ -41,7 +41,7 @@ public class PredatorAI : BaseAI
|
|||
return true;
|
||||
}
|
||||
|
||||
if (!WalkMobileRange(combatant, 1, true, Mobile.RangeFight, Mobile.RangeFight))
|
||||
if (!WalkMobileRange(combatant, 1, false, Mobile.RangeFight, Mobile.RangeFight))
|
||||
{
|
||||
if (Mobile.GetDistanceToSqrt(combatant) > Mobile.RangePerception + 1)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue