From c46ca506830a012345d37bb3dccdec862fdf0734 Mon Sep 17 00:00:00 2001 From: Kam Date: Sat, 7 Mar 2026 18:26:38 -0500 Subject: [PATCH] Fixed / Improved Track Speed Handling on NPCs --- java/noppes/npcs/api/ability/IAbility.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/java/noppes/npcs/api/ability/IAbility.java b/java/noppes/npcs/api/ability/IAbility.java index 1b0197e..b943dab 100644 --- a/java/noppes/npcs/api/ability/IAbility.java +++ b/java/noppes/npcs/api/ability/IAbility.java @@ -191,17 +191,17 @@ public interface IAbility extends IAbilityAction { void setRotationPhaseType(int type); /** - * Get track delay for TRACK rotation mode. - * 0 = instant tracking (legacy). Higher values = slower lerp toward target. + * Get track speed for TRACK rotation mode (blocks/second). + * 0 = instant tracking. Comparable to player sprint speed (~5.6 blocks/sec). */ - float getTrackDelayValue(); + float getTrackSpeedValue(); /** - * Set track delay for TRACK rotation mode. + * Set track speed for TRACK rotation mode (blocks/second). * - * @param delay 0 = instant tracking. Higher values = slower lerp toward target. + * @param speed 0 = instant tracking. ~4 = dodgeable while sprinting. ~6 = barely undodgeable. */ - void setTrackDelayValue(float delay); + void setTrackSpeedValue(float speed); /** * Check if movement (pathfinding/motion) is locked during the WINDUP phase.