Amount

Damage Condition Type

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.

Examples

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

This example will check if the damage dealt/taken is equal to 2 hearts.