Set Healing
Description
Blocks or allows a player's health regeneration, including natural regeneration, potion effects and food. A block lasts until the player logs out. The CanHeal condition checks whether a player can heal.
Players only. It affects each targeted player, or the caster when the line has no target.
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| value | v, healing | false blocks health regeneration, true allows it again |
true |
Examples
MS_HeatNoHealing:
Cooldown: 3
Conditions:
- playertemp{min=35}
- canheal
Skills:
- sethealing{value=false} @Self
canhealskips the cast while regeneration is already blocked.
Summer_Cooldown:
Skills:
- sethealing{v=true;targetcreative=true} @PlayersInWorld{targetself=true}
For the
season-endtrigger of a hot season: every player in the world can heal again, the caster and Creative or Spectator players included.
Aliases
- seasonhealing