Player Health
Progress counts only when the player’s health is within the specified bounds.
{ "type": "PlayerHealth", "minHealth": -1, "maxHealth": 25}Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
type | string | Exactly 'PlayerHealth' |
minHealth | number | Minimum player HP (raw HP, NOT a fraction). -1 disables this bound. |
maxHealth | number | Maximum player HP (raw HP, NOT a fraction). -1 disables this bound. |
- Bounds are raw HP, not a percentage:
50means 50 health points, not 50%. A full-health player is at100. -1disables a bound. Set onlymaxHealthfor a “while wounded” rule, or onlyminHealthfor a “while healthy” rule.- If both bounds are set,
minHealthmust not exceedmaxHealth.