AbilityCooldownReadyCondition ​
Inherits: EntityCondition < Condition < Resource
Checks if a specific ability is off cooldown and ready to use.
Properties ​
int | ability_id | 0 |
bool | is_ready | true |
Methods ​
String | get_entity_function_description() |
bool | evaluate_entity( entity: Entity ) |
String | get_entity_description() |
Property descriptions ​
int ability_id = 0 ​
The ID of the ability to check
bool is_ready = true ​
Whether to check if ready (true) or on cooldown (false)
Method descriptions ​
String get_entity_function_description() ​
The sentence the editor shows for the condition, with {placeholders} for its values.
bool evaluate_entity( entity: Entity ) ​
Evaluate if the ability is off cooldown
String get_entity_description() ​
A short text about what the condition checks on the entity.