Attribute for Moves.SKETCH that causes the user to copy the opponent's last used move This move copies the last used non-virtual move e.g. if Metronome is used, it copies Metronome itself, not the virtual move called by Metronome Fails if the opponent has not yet used a move. Fails if used on an uncopiable move, listed in unsketchableMoves in getCondition Fails if the move is already in the user's moveset

Hierarchy (view full)

Constructors

Properties

options?: MoveEffectAttrOptions

A container for this attribute's optional parameters

MoveEffectAttrOptions for supported params.

selfTarget: boolean

Should this Move target the user?

Accessors

  • get effectChanceOverride(): undefined | number
  • If defined, overrides the move's base chance for this secondary effect to trigger.

    Returns undefined | number

  • get firstHitOnly(): boolean
  • true if this effect should only trigger on the first hit of multi-hit moves.

    Returns boolean

    false
    
  • get firstTargetOnly(): boolean
  • true if this effect should apply only upon hitting a target for the first time when targeting multiple Pokemon.

    Returns boolean

    false
    
  • get lastHitOnly(): boolean
  • true if this effect should only trigger on the last hit of multi-hit moves.

    Returns boolean

    false
    

Methods

  • User copies the opponent's last used move, if possible

    Parameters

    • user: default

      Pokemon that used the move and will replace Sketch with the copied move

    • target: default

      Pokemon that the user wants to copy a move from

    • move: default

      Move being used

    • args: any[]

      Unused

    Returns boolean

    true if the function succeeds, otherwise false