java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.IgnoreDefense

public class IgnoreDefense extends EffectBase
Created by Jay113355 on 7/22/2020. If a move has this marker, the targets defense and evasion stat changes will not be taken into effect. Used by: https://bulbapedia.bulbagarden.net/wiki/Chip_Away_(move) https://bulbapedia.bulbagarden.net/wiki/Sacred_Sword_(move) https://bulbapedia.bulbagarden.net/wiki/Darkest_Lariat_(move) Ability that does the same thing: https://bulbapedia.bulbagarden.net/wiki/Unaware_(Ability)
  • Constructor Details

    • IgnoreDefense

      public IgnoreDefense()
  • Method Details

    • applyEffect

      public void applyEffect(PixelmonWrapper user, PixelmonWrapper target)
      Causes various effects during the move.
      Specified by:
      applyEffect in class EffectBase
      Parameters:
      user - The move's user.
      target -
    • cantMiss

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