public class Raging extends StatusBase
Increases the Pokémon's attack whenever it gets hit.
  • Constructor Details

    • Raging

      public Raging()
      Initializes the status.
  • Method Details

    • onDamageReceived

      public void onDamageReceived(PixelmonWrapper user, PixelmonWrapper pokemon, Attack a, int damage, DamageTypeEnum damagetype)
      Description copied from class: StatusBase
      Triggers when the statused Pokémon takes damage.
      Overrides:
      onDamageReceived in class StatusBase
      Parameters:
      user - The attack's user.
      pokemon - The statused Pokémon.
      a - The attack.
      damage - The amount of damage dealt.
      damagetype - The type of damage dealt.
    • onAttackUsed

      public void onAttackUsed(PixelmonWrapper user, Attack attack)
      Description copied from class: StatusBase
      Triggers when the Pokémon uses an attack.
      Overrides:
      onAttackUsed in class StatusBase
      Parameters:
      user - The attack's user.
      attack - The attack.