Class used for triggering form changes based on weather. Used by Castform and Cherrim.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

ability: Abilities

The ability that triggers the form change

weathers: WeatherType[]

The list of weathers that trigger the form change

Methods

  • Checks if the Pokemon has the required ability and is in the correct weather while the weather or ability is also not suppressed.

    Parameters

    • pokemon: default

      the pokemon that is trying to do the form change

    Returns boolean

    true if the Pokemon can change forms, false otherwise