mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 06:04:45 +00:00
Complete Ability Hud System + Added-Per-Ability Cooldown System to be Reflected in Hud and Hud GUI
This commit is contained in:
1 parent
a27e115950
commit
72718c3601
1 file changed
+11
@@ -226,6 +226,17 @@ public interface IAbility extends IAbilityAction {
|
||||
*/
|
||||
void setIgnoreCooldown(boolean ignore);
|
||||
|
||||
/**
|
||||
* Check if this ability uses per-ability cooldown instead of global cooldown.
|
||||
* When true, using this ability only puts THIS ability on cooldown, not all abilities.
|
||||
*/
|
||||
boolean isPerAbilityCooldown();
|
||||
|
||||
/**
|
||||
* Set whether this ability uses per-ability cooldown.
|
||||
*/
|
||||
void setPerAbilityCooldown(boolean perAbility);
|
||||
|
||||
/**
|
||||
* Get this ability's data as NBT.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user