Base class for defining all Ability Attributes after a status effect has been set.

().

Hierarchy (view full)

Constructors

Properties

showAbility: boolean

Methods

  • Parameters

    Returns boolean | Promise<boolean>

  • Does nothing after a status condition is set.

    Parameters

    • pokemon: default

      Pokemon that status condition was set on.

    • sourcePokemon: null | default = null

      Pokemon that that set the status condition. Is null if status was not set by a Pokemon.

    • passive: boolean

      Whether this ability is a passive.

    • effect: StatusEffect

      StatusEffect that was set.

    • simulated: boolean
    • args: any[]

      Set of unique arguments needed by this attribute.

    Returns boolean | Promise<boolean>

    true if application of the ability succeeds.