Class ShellTrapStatus


public class ShellTrapStatus extends StatusBase
  • Constructor Details

    • ShellTrapStatus

      public ShellTrapStatus()
  • Method Details

    • onDamageReceived

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

      public boolean getWasHit()