Class BideStatus


public class BideStatus extends StatusBase
Charges energy for two turns, then damages the opponent for double the damage taken during charging.
  • Field Details

    • damageTaken

      public transient float damageTaken
      The amount of damage taken while using Bide.
    • lastAttacker

      public transient PixelmonWrapper lastAttacker
      The last Pokémon to attack the user of Bide.
  • Constructor Details

    • BideStatus

      public BideStatus()
      Initializes the status.
  • Method Details

    • onDamageReceived

      public void onDamageReceived(PixelmonWrapper userWrapper, 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:
      userWrapper - The attack's user.
      pokemon - The statused Pokémon.
      a - The attack.
      damage - The amount of damage dealt.
      damageType - The type of damage dealt.