public class DoSetDamage extends SpecialAttackBase
Deals a fixed amount damage.
  • Constructor Details

    • DoSetDamage

      public DoSetDamage(Value... values)
      Initializes the effect.
      Parameters:
      values - The amount of damage to deal.
  • Method Details

    • doUniqueDamageCalc

      public int doUniqueDamageCalc(PixelmonWrapper user, PixelmonWrapper target)
      Description copied from class: SpecialAttackBase
      Used when an attack needs to deal damage that doesn't use the normal damage calculator.
      Overrides:
      doUniqueDamageCalc in class SpecialAttackBase
      Parameters:
      user - The Pixelmon using the move.
      target - The Pixelmon that will take damage.
      Returns:
      The amount of damage dealt.