Amount (Damage Condition Type)

Checks whether the damage is of a specified amount.

Checks whether the damage is of a specified amount.

Type ID: apoli:amount

Fields

FieldTypeDefaultDescription
comparisonComparison (Data TypeDetermines how the amount of damage should be compared to the specified value.
compare_toFloatThe value at which the amount of damage will be compared to.

Examples

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

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