Base class for defining all Ability Attributes post summon

()

Hierarchy (view full)

Constructors

Properties

showAbility: boolean

Methods

  • Parameters

    Returns boolean | Promise<boolean>

  • Applies ability post summon (after switching in)

    Parameters

    • pokemon: default

      Pokemon with this ability

    • passive: boolean

      Whether this ability is a passive

    • simulated: boolean
    • args: any[]

      Set of unique arguments needed by this attribute

    Returns boolean | Promise<boolean>

    true if application of the ability succeeds