Skip to content

Max Health

Entity Condition Type.

Applies a check towards the max health attribute value of an entity.

Type ID: apugli:max_health

Fields

Field Type Default Description
comparison Comparison ">=" How the max health of the entity should be compared to the specified value.
compare_to Float The value to compare the value to.

Example

"condition": {
    "type": "apugli:max_health",
    "comparison": ">=",
    "compare_to": 1
}
This example tests if an entity's max health is greater than or equal to 1.