Game Maker

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 the Amount.
    • Add: Adds the Amount to the current max health.
    • Subtract: Subtracts the Amount from 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 Player to 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.