Amount (Damage Condition Type)
Compares the amount of damage with a number.
Type ID: apoli:amount
Fields
| Field | Type | Default | Description |
|---|---|---|---|
comparison | Comparison | required | How the damage is compared with compare_to. |
compare_to | Float | required | The number the damage is compared with. |
Examples
"damage_condition": {
"type": "apoli:amount",
"comparison": "==",
"compare_to": 4
}This checks whether the damage dealt or taken is exactly 2 hearts.