Condition
Conditions are used to check if a Property satisfies a particular criteria. These expressions are primarily used as part of Select Statements or to specify prerequisites for Feats.
Operators
The following operators are supported in Math expressions.
| Symbol | Description |
|---|---|
== | Equal to |
< | Less than |
<= | Less than or equal to |
> | Greater than |
>= | Greater than or equal to |
and | Both conditions must be true |
or | At least one of the conditions must be true |
Additionally, the following functions are also supported:
contains(left: Operand, right: Operand): Condition
Checks if left is contained within right.
not(condition: Condition): Condition
Negate the condition
Examples
level >= 5
Character level is at least 5.
skill_proficiency(thievery) >= trained and class_feats contains "archetypes:⟨xenoarchaeologist⟩"
Expert in Thievery and Xenoarchaeologist Dedication