From 2b21264ada69ec5e800977a000e892bc82d7c61f Mon Sep 17 00:00:00 2001 From: Kam Date: Wed, 28 Jan 2026 15:16:19 -0500 Subject: [PATCH] Lock Movement Enum --- java/noppes/npcs/api/ability/IAbility.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/java/noppes/npcs/api/ability/IAbility.java b/java/noppes/npcs/api/ability/IAbility.java index 36464be..0049f6f 100644 --- a/java/noppes/npcs/api/ability/IAbility.java +++ b/java/noppes/npcs/api/ability/IAbility.java @@ -114,6 +114,28 @@ public interface IAbility { */ void setInterruptible(boolean interruptible); + /** + * Get the lock movement type for this ability. + * @return 0=NO, 1=WINDUP, 2=ACTIVE, 3=WINDUP_AND_ACTIVE + */ + int getLockMovementType(); + + /** + * Set the lock movement type for this ability. + * @param type 0=NO, 1=WINDUP, 2=ACTIVE, 3=WINDUP_AND_ACTIVE + */ + void setLockMovementType(int type); + + /** + * Check if movement is locked during the WINDUP phase. + */ + boolean isMovementLockedDuringWindup(); + + /** + * Check if movement is locked during the ACTIVE phase. + */ + boolean isMovementLockedDuringActive(); + /** * Check if this ability is currently being executed. */