Max Health
Changes a player's maximum health.
This action modifies a player's maximum health attribute. The default is 20.0 (10 hearts).
Configuration
- Amount: The value to use in the operation.
- Operator: How to change the max health:
Set: Sets the max health to theAmount.Add: Adds theAmountto the current max health.Subtract: Subtracts theAmountfrom the current max health.
- Heal On Change: If
true, the player's current health will be set to their new maximum health after the change. - Target: The
Playerto affect.
Use Cases
- A "Juggernaut" power-up that temporarily increases a player's max health.
- A permanent upgrade system where players can increase their max health over time.
- A curse that reduces a player's maximum health.