Amount
Checks whether the damage is of a specified amount.
Type ID: origins:amount
Fields
Field | Type | Default | Description |
---|---|---|---|
comparison |
Comparison | Determines how the amount of damage should be compared to the specified value. | |
compare_to |
Float | The value at which the amount of damage will be compared 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.