IAbilityAction for Abilities and Chained Actions

This commit is contained in:
Kam committed 2026-02-18 04:00:07 -05:00
1 parent 010849fe8f
commit 28c0ca840f
4 files changed
+77 -1

No files matched your search

@@ -0,0 +1,25 @@
package noppes.npcs.api.ability;
/**
* Common API interface for all combat actions (abilities and chained abilities).
* Both {@link IAbility} and {@link IChainedAbility} extend this interface.
*/
public interface IAbilityAction {
String getName();
boolean isEnabled();
int getWeight();
int getCooldownTicks();
float getMinRange();
float getMaxRange();
/**
* Whether this action is a chained ability (sequence) vs an individual ability.
*/
boolean isChain();
}