java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.attackModifiers.AttackModifierBase
Direct Known Subclasses:
AlwaysHit, CriticalHit, Damage, GrassyGlide, MultipleHit, OnlyUser, PreventRedirect, Priority, Psyblade, Recoil

public abstract class AttackModifierBase extends EffectBase
  • Constructor Details

    • AttackModifierBase

      public AttackModifierBase()
  • Method Details

    • applyEffectDuring

      public AttackResult applyEffectDuring(PixelmonWrapper user, PixelmonWrapper target)
      Causes an effect during the move.
      Parameters:
      user - The move's user
      target - The move's target
      Returns:
      The result of the move
      Throws:
      Exception
    • applyEffect

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

      public boolean cantMiss(PixelmonWrapper user)
      Description copied from class: EffectBase
      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.