Skip to content

GroupHealthPercentageCondition ​

Inherits: EncounterCondition < Condition < Resource

Checks if the group's average health percentage meets specified criteria

Properties ​

Condition.CheckLogiccomparison_logicCondition.CheckLogic.LESS_EQUAL
floattarget_health_percentage50.0

Methods ​

boolevaluate_encounter( encounter: EncounterGroup )
Stringget_encounter_description()
Stringget_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.