Skip to content

EncounterCombatStateCondition ​

Inherits: EncounterCondition < Condition < Resource

Checks if an encounter is in a specific combat state. Uses EncounterCondition targeting to determine which encounter to check. Updated to work with new EncounterState enum system.

Properties ​

EncounterGroup.EncounterStaterequired_encounter_stateEncounterGroup.EncounterState.IN_COMBAT

Methods ​

boolevaluate_encounter( encounter: EncounterGroup )
Stringget_encounter_description()
Stringget_encounter_function_description()
boolis_valid()
Stringget_expected_argument_type()

Property descriptions ​

Combat State Check

EncounterGroup.EncounterState required_encounter_state = EncounterGroup.EncounterState.IN_COMBAT ​

The encounter state to check for

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.

bool is_valid() ​

Are the settings of the condition complete?

String get_expected_argument_type() ​

The kind of thing the condition is checked against (an entity, an encounter ...).