mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-14 22:34:44 +00:00
26 lines
513 B
Java
26 lines
513 B
Java
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();
|
|
}
|