above_health_percent

Passes when the entity's health is at or above the given percentage of its maximum.

Categories: combat

Required arguments

Key(s)DescriptionType
percentThe minimum health percentage (0–100).EXPRESSION

Example

conditions:
  - id: above_health_percent
    args:
      percent: 50 + %level%