GroupHealthPercentageCondition ​
Inherits: EncounterCondition < Condition < Resource
Checks if the group's average health percentage meets specified criteria
Properties ​
Condition.CheckLogic | comparison_logic | Condition.CheckLogic.LESS_EQUAL |
float | target_health_percentage | 50.0 |
Methods ​
bool | evaluate_encounter( encounter: EncounterGroup ) |
String | get_encounter_description() |
String | get_encounter_function_description() |
Property descriptions ​
Condition.CheckLogic comparison_logic = Condition.CheckLogic.LESS_EQUAL ​
How the average health of the group is compared with the target
float target_health_percentage = 50.0 ​
The average health percentage of the group to compare with
Method descriptions ​
bool evaluate_encounter( encounter: EncounterGroup ) ​
Is the condition met for this encounter?
String get_encounter_description() ​
A short text about what the condition checks on the encounter.
String get_encounter_function_description() ​
The sentence the editor shows for the condition, with {placeholders} for its values.