Attribute used for moves which swap the user and the target's stat changes.

Hierarchy (view full)

Constructors

Properties

firstHitOnly: boolean

Should this effect only apply on the first hit?

selfTarget: boolean

Should this Move target the user?

Defines when this effect should trigger in the move's effect order

Methods

  • Swaps the user and the target's stat changes.

    Parameters

    • user: default

      Pokemon that used the move

    • target: default

      The target of the move

    • move: default

      Move with this attribute

    • args: any[]

      N/A

    Returns boolean

    true if the function succeeds