Class IonDeluge


public class IonDeluge extends GlobalStatusBase
Turns all Normal-type moves into Electric-type moves.
  • Constructor Details

    • IonDeluge

      public IonDeluge()
      Initializes the status.
  • Method Details

    • applyEffect

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

      public int[] modifyPowerAndAccuracyTarget(int power, int accuracy, PixelmonWrapper user, PixelmonWrapper target, Attack a)
      Description copied from class: StatusBase
      Modifies the power and accuracy of the attack about to hit the statused Pokémon.
      Overrides:
      modifyPowerAndAccuracyTarget in class StatusBase
      Parameters:
      power - The attack's power.
      accuracy - The attack's accuracy.
      user - The attack's user.
      target - The attack's target.
      a - The attack.
      Returns:
      The modified power and accuracy.
    • applyRepeatedEffect

      public void applyRepeatedEffect(GlobalStatusController globalStatusController)
      Description copied from class: GlobalStatusBase
      Triggers at the end of every turn.
      Overrides:
      applyRepeatedEffect in class GlobalStatusBase
      Parameters:
      globalStatusController - The battle's global status controller.