Reduce the max melee distance for RSR

pull/39/head
Liza 2024-08-31 22:31:06 +02:00
parent 842715337c
commit 86f764aca3
Signed by: liza
GPG Key ID: 7199F8D727D55F67
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ internal sealed class RotationSolverRebornModule : ICombatModule, IDisposable
float hitboxOffset = player.HitboxRadius + gameObject.HitboxRadius;
float actualDistance = Vector3.Distance(player.Position, gameObject.Position);
float maxDistance = player.ClassJob.GameData?.Role is 3 or 4 ? 20f : 3f;
float maxDistance = player.ClassJob.GameData?.Role is 3 or 4 ? 20f : 2.9f;
if (actualDistance - hitboxOffset >= maxDistance)
{
if (actualDistance - hitboxOffset <= 5)