Base class for defining all Ability Attributes post summon

See

()

Hierarchy (view full)

Constructors

Properties

formFunc: ((p) => number)

Type declaration

    • (p): number
    • Parameters

      Returns number

showAbility: boolean

Methods

  • Applies ability post summon (after switching in)

    Parameters

    • pokemon: default

      Pokemon with this ability

    • passive: boolean

      Whether this ability is a passive

    • args: any[]

      Set of unique arguments needed by this attribute

    Returns boolean

    true if application of the ability succeeds