Base class defining all Move Attributes

Abstract

See

apply

Hierarchy (view full)

Constructors

Properties

condition: MoveConditionFunc
levels: number
selfTarget: boolean

Should this Move target the user?

showMessage: boolean
stats: BattleStat[]

Methods

  • Applies move attributes

    Parameters

    Returns boolean | Promise<boolean>

    true if application of the ability succeeds

    See

    applyMoveAttrsInternal