WearingArmorClassCondition ​
Inherits: EntityCondition < Condition < Resource
Checks the armor an entity wears: "wears at least three pieces of plate". On a stat effect it makes a skill work only with its own armor (an Armor Skill stat that lowers damage only while plate is worn). Weapons do not count as armor.
Properties ​
Array[int] | armor_class_ids | [] |
int | minimum_pieces | 1 |
bool | invert | false |
Methods ​
bool | evaluate_entity( entity: Entity ) |
String | get_entity_description() |
String | get_entity_function_description() |
Property descriptions ​
Array[int] armor_class_ids = [] ​
The armor classes to look for (ArmorClassDefinition ids)
int minimum_pieces = 1 ​
How many pieces of those classes must be worn (counted together)
bool invert = false ​
True: the condition is met when fewer pieces than that are worn (not in plate)
Method descriptions ​
bool evaluate_entity( entity: Entity ) ​
Is the condition met for this entity?
String get_entity_description() ​
A short text about what the condition checks on the entity.
String get_entity_function_description() ​
The sentence the editor shows for the condition, with {placeholders} for its values.