Class AuraStatus


public class AuraStatus extends GlobalStatusBase
Status for Dark Aura and Fairy Aura effect.
  • Constructor Details

    • AuraStatus

      public AuraStatus(Element boostType, StatusType auraStatus)
      Initializes the status.
      Parameters:
      boostType - The type of the status.
  • Method Details

    • 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.