public class FlyingPress extends SpecialAttackBase
Deals both Fighting-type and Flying-type damage.
  • Constructor Details

    • FlyingPress

      public FlyingPress()
  • Method Details

    • modifyTypeEffectiveness

      public double modifyTypeEffectiveness(List<Element> effectiveTypes, Element moveType, double baseEffectiveness)
      Description copied from class: EffectBase
      Modifies the type effectiveness of a move.
      Overrides:
      modifyTypeEffectiveness in class EffectBase
      Parameters:
      effectiveTypes - The types of the Pokémon targeted by the move.
      moveType - The type of the move being used in the calculation.
      baseEffectiveness - The type effectiveness before modification.
      Returns:
      The new type effectiveness.