Base class defining all Move Attributes

Abstract

See

apply

Hierarchy (view full)

Constructors

Properties

selfTarget: boolean

Should this Move target the user?

Methods

  • Checks to see if the Target is Ice-Type or not. If so, the move will have no effect.

    Parameters

    • user: default

      N/A

    • target: default

      Pokemon that is being checked whether Ice-Type or not.

    • move: default

      N/A

    • args: any[]

      Sets to false if the target is Ice-Type, so it should do no damage/no effect.

    Returns boolean

    Returns true if move is successful, false if Ice-Type.