CastingStateCondition ​
Inherits: EntityCondition < Condition < Resource
Checks if the entity or target is currently casting/not casting. Consolidates IsCasting and TargetIsCasting conditions.
Properties ​
CheckTarget | check_target | CheckTarget.SELF |
bool | is_casting | true |
Methods ​
bool | evaluate_entity( entity: Entity ) |
String | get_entity_description() |
String | get_entity_function_description() |
Enumerations ​
enum CheckTarget ​
The options of check target: self, target.
- SELF =
0- Check if this entity is casting - TARGET =
1- Check if this entity's target is casting
Property descriptions ​
CheckTarget check_target = CheckTarget.SELF ​
What to check - self or target
bool is_casting = true ​
If true, checks for casting; if false, checks for NOT casting
Method descriptions ​
bool evaluate_entity( entity: Entity ) ​
Is the condition met for this entity?
String get_entity_description() ​
A short text about what the condition checks on the entity.
String get_entity_function_description() ​
The sentence the editor shows for the condition, with {placeholders} for its values.