public class SuperEffectiveBoost extends SpecialAttackBase
Boosts the damage of super-effective moves by 1.333x
  • Constructor Details

    • SuperEffectiveBoost

      public SuperEffectiveBoost()
  • Method Details

    • modifyDamage

      public int modifyDamage(int damage, PixelmonWrapper source, PixelmonWrapper target, Attack a)
      Description copied from class: EffectBase
      Triggers when the Pokémon deals direct damage.
      Overrides:
      modifyDamage in class EffectBase
      Parameters:
      damage - The amount of damage dealt.
      source - The attack's user.
      target - The attack's target.
      a - The attack.
      Returns:
      The modified damage.