Attribute for form changes that occur on switching out

Hierarchy (view full)

Constructors

Properties

formFunc: ((p) => number)

Type declaration

    • (p): number
    • Parameters

      Returns number

showAbility: boolean

Methods

  • On switch out, trigger the form change to the one defined in the ability

    Parameters

    • pokemon: default

      The pokemon switching out and changing form Pokemon

    • passive: boolean

      N/A

    • args: any[]

      N/A

    Returns boolean | Promise<boolean>

    true if the form change was successful