From fe1cec89814290a745ac708b309703125b5a3c15 Mon Sep 17 00:00:00 2001 From: Kam Date: Fri, 6 Feb 2026 16:28:29 -0500 Subject: [PATCH] Update IAbility.java --- java/noppes/npcs/api/ability/IAbility.java | 24 ++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/java/noppes/npcs/api/ability/IAbility.java b/java/noppes/npcs/api/ability/IAbility.java index 6cc55f9..aca46fe 100644 --- a/java/noppes/npcs/api/ability/IAbility.java +++ b/java/noppes/npcs/api/ability/IAbility.java @@ -127,16 +127,28 @@ public interface IAbility { void setLockMovementType(int type); /** - * Get the lock type for this ability. - * @return 0=MOVEMENT, 1=ROTATION, 2=BOTH + * Get the rotation mode for this ability. + * @return 0=FREE, 1=LOCKED, 2=TRACK */ - int getLockTypeOrdinal(); + int getRotationModeType(); /** - * Set the lock type for this ability. - * @param type 0=MOVEMENT, 1=ROTATION, 2=BOTH + * Set the rotation mode for this ability. + * @param type 0=FREE, 1=LOCKED, 2=TRACK */ - void setLockTypeOrdinal(int type); + void setRotationModeType(int type); + + /** + * Get the rotation phase for this ability (when rotation mode applies). + * @return 0=NO, 1=WINDUP, 2=ACTIVE, 3=WINDUP_AND_ACTIVE + */ + int getRotationPhaseType(); + + /** + * Set the rotation phase for this ability. + * @param type 0=NO, 1=WINDUP, 2=ACTIVE, 3=WINDUP_AND_ACTIVE + */ + void setRotationPhaseType(int type); /** * Check if movement (pathfinding/motion) is locked during the WINDUP phase.