public class ExpandingForce extends SpecialAttackBase
If Psychic Terrain is in effect and the user is grounded upon its execution, this move gets a 1.5× power increase in addition to the usual 1.3× bonus from terrain, and if the setting is a Double Battle, the move's target will be changed to hit both opposing Pokémon.
  • Constructor Details

    • ExpandingForce

      public ExpandingForce()
  • 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.
    • modifyTargets

      public void modifyTargets(List<PixelmonWrapper> targets, Attack attack, PixelmonWrapper user)
      Description copied from class: EffectBase
      Modifies the targets of a move.
      Overrides:
      modifyTargets in class EffectBase
      Parameters:
      targets - The current targets of the attack.
      attack - The attack being used.
      user - The Pokémon using the move.
    • canHitMultipleTargets

      public boolean canHitMultipleTargets(Attack attack, PixelmonWrapper user)
      Description copied from class: EffectBase
      Returns whether a move can conditionally hit multiple targets.
      Overrides:
      canHitMultipleTargets in class EffectBase
      Parameters:
      attack - The attack being used.
      user - The Pokémon using the move.
      Returns:
      The new priority.