PowerUp Examples

All of these inherit from PowerUp.cs

DAMAGE DEALT POWER UP

  • valueAdded: 0 meaning 0%, and 1 meaning 100%, increment the damage dealt.

DAMAGE RECEIVED POWER UP

  • valueAdded: 0 meaning 0%, and 1 meaning 100%, increment the damage received.

HEALING RECEIVED POWER UP

  • valueAdded: 0 meaning 0%, and 1 meaning 100%, increment the heal received.

HEALTHPACK

  • healthAdded: Health to add.

INVINCIBILITY POWER UP

  • InvincibilityDuration: Time in seconds to be invincible.

JUMP HEIGHT POWER UP

  • valueAdded: Increment the jump height.

SPEED POWER UP

  • valueAdded: 0 meaning 0%, and 1 meaning 100%, increment the speed

Last updated