mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 18:05:12 +00:00
Fix DBC Toggle Abilities and Wheel System
This commit is contained in:
1 parent
ca2980909e
commit
2c2f0c0d8f
4 files changed
+124
No files matched your search
@@ -257,4 +257,29 @@ public interface IAbility extends IAbilityAction {
|
||||
boolean isBurstOverlap();
|
||||
|
||||
void setBurstOverlap(boolean overlap);
|
||||
|
||||
// Toggle system
|
||||
|
||||
/**
|
||||
* Check if this ability is toggleable (has at least 1 toggle state).
|
||||
*/
|
||||
boolean isToggleable();
|
||||
|
||||
/**
|
||||
* Get the number of toggle states.
|
||||
* 0 = not toggleable, 1 = binary on/off, 2+ = multi-state cycling.
|
||||
*/
|
||||
int getToggleStates();
|
||||
|
||||
/**
|
||||
* Set the number of toggle states.
|
||||
* 0 = not toggleable, 1 = binary on/off, 2+ = multi-state cycling.
|
||||
*/
|
||||
void setToggleStates(int states);
|
||||
|
||||
/**
|
||||
* Get the display label for a specific toggle state (1-indexed).
|
||||
* @return the label, or null if none set
|
||||
*/
|
||||
String getToggleStateLabel(int state);
|
||||
}
|
||||
Reference in new issue
Block a user