PartyIncludesClassCondition ​
Inherits: Condition < Resource
Checks if the party includes a specific character class. Simplified to check for a single class ID instead of an array.
Properties ​
int | required_class_id | 0 |
int | minimum_count | 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 ​
Class Check
int required_class_id = 0 ​
The class ID to look for in the party
int minimum_count = 1 ​
Minimum number of players with this class required
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 ...).