fix: Fixes movement pathing while in combat (#2271)

This commit is contained in:
Bohica 2025-11-16 10:14:06 -08:00 • committed by GitHub
parent 051f22ff93
commit ee1a40bb51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 10 additions and 16 deletions

View file

@ -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)
{