Amount

Damage Condition.

Checks whether the damage is of a specified amount.

Type ID: origins:amount

Fields:

Field Type Default Description
comparison Comparison How the amount of damage should be compared to the specified value.
compare_to Float The value to compare the amount of damage to.

Example

"damage_condition": {
    "type": "origins:amount",
    "comparison": ">",
    "compare_to": 4
}

This example checks if the damage dealt/taken is 2 hearts. (or 4 damage points)