Attempt to copy the stat changes on an ally pokemon

Hierarchy (view full)

Constructors

Properties

allyName: string
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