public class AlwaysHit extends AttackModifierBase
Makes the move ignore accuracy and evasion to always hit.
  • Field Details

  • Constructor Details

    • AlwaysHit

      public AlwaysHit(Value... values)
      Initializes the modifier.
      Parameters:
      values - Indicates that the move only has perfect accuracy under certain weather conditions.
  • Method Details

    • cantMiss

      public boolean cantMiss(PixelmonWrapper user)
      Description copied from class: EffectBase
      Determines whether a move cannot miss.
      Overrides:
      cantMiss in class AttackModifierBase
      Parameters:
      user - The move's user.
      Returns:
      Whether the move can't miss.