public class MultipleHit extends AttackModifierBase
Damages the target multiple times.
  • Field Details

    • minHits

      public int minHits
    • maxHits

      public int maxHits
  • Constructor Details

    • MultipleHit

      public MultipleHit(Value... values)
      Initializes the multi-hit move.
      Parameters:
      values - The minimum and maximum number of times the multi-hit move can hit.
  • Method Details

    • repeatsAttack

      public boolean repeatsAttack()
      Determines whether the attack will continue.
      Returns:
      Whether the attack will continue.
    • applyEffectDuring

      public AttackResult applyEffectDuring(PixelmonWrapper user, PixelmonWrapper target)
      Description copied from class: AttackModifierBase
      Causes an effect during the move.
      Overrides:
      applyEffectDuring in class AttackModifierBase
      Parameters:
      user - The move's user
      target - The move's target
      Returns:
      The result of the move