PartySizeCondition ​
Inherits: Condition < Resource
Checks if the party size meets certain criteria.
Properties ​
Condition.CheckLogic | size_check_logic | Condition.CheckLogic.GREATER_EQUAL |
int | target_size | 1 |
bool | count_only_alive | true |
Methods ​
bool | evaluate( argument: Variant = null ) |
String | get_description() |
String | get_function_description() |
bool | is_valid() |
String | get_expected_argument_type() |
Property descriptions ​
Size Check
Condition.CheckLogic size_check_logic = Condition.CheckLogic.GREATER_EQUAL ​
Logic for comparing the party size
int target_size = 1 ​
Target party size to compare against
bool count_only_alive = true ​
Whether to count only alive members (true) or all members (false)
Method descriptions ​
bool evaluate( argument: Variant = null ) ​
Is the condition met?
String get_description() ​
A short text about what the condition checks.
String get_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 ...).