public class FreezeDry extends SpecialAttackBase
  • Constructor Details

    • FreezeDry

      public FreezeDry()
  • Method Details

    • modifyTypeEffectiveness

      public double modifyTypeEffectiveness(List<Element> effectiveTypes, Element moveType, double baseEffectiveness, BattleController bc)
      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.
      bc - The active in use battle controller, this method calls the method without BC if unused specifically by the effect
      Returns:
      The new type effectiveness.
    • 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.