public class CheckedStrikes extends SpecialAttackBase
Damages the target multiple times, with each hit having a separate accuracy check. Failing any attempt ends the attack.
  • Field Details

    • maxHits

      public int maxHits
    • powerChange

      public int powerChange
  • Constructor Details

    • CheckedStrikes

      public CheckedStrikes(Value... values)
      Initializes the multi-hit move.
      Parameters:
      values - The maximum number of times the move can hit and how the base power changes between strikes.
  • Method Details

    • applyEffectStart

      public AttackResult applyEffectStart(PixelmonWrapper user, PixelmonWrapper target)
      Description copied from class: EffectBase
      Causes effects before the move's power is calculated.
      Overrides:
      applyEffectStart in class EffectBase
      Parameters:
      user - The move's user.
      target - The move's target.
      Returns:
      The result of the effect.
    • getCount

      public int getCount()
    • getInProgress

      public boolean getInProgress()