Hierarchy (view full)

Implements

Constructors

Properties

accuracy: number
attrs: MoveAttr[]
category: MoveCategory
chance: number
conditions: MoveCondition[]
effect: string
flags: number
generation: number
id: Moves
moveTarget: MoveTarget
name: string
nameAppend: string
power: number
pp: number
priority: number
type: Type

Methods

  • Type Parameters

    Parameters

    • AttrType: T
    • Rest ...args: ConstructorParameters<T>

    Returns this

  • Parameters

    • Optional ballBombMove: boolean

    Returns this

  • Parameters

    • Optional bitingMove: boolean

    Returns this

  • Parameters

    • Optional checkAllHits: boolean

    Returns this

  • Parameters

    • Optional danceMove: boolean

    Returns this

  • Get all move attributes that match attrType

    Type Parameters

    Parameters

    • attrType: (new (...args) => T)

      any attribute that extends MoveAttr

        • new (...args): T
        • Parameters

          • Rest ...args: any[]

          Returns T

    Returns T[]

    Array of attributes that match attrType, Empty Array if none match.

  • Check if a move has an attribute that matches attrType

    Type Parameters

    Parameters

    • attrType: (new (...args) => T)

      any attribute that extends MoveAttr

        • new (...args): T
        • Parameters

          • Rest ...args: any[]

          Returns T

    Returns boolean

    true if the move has attribute attrType

  • Parameters

    • Optional hidesTarget: boolean

    Returns this

  • Parameters

    • Optional hidesUser: boolean

    Returns this

  • Parameters

    • Optional ignoresAbilities: boolean

    Returns this

  • Parameters

    • Optional ignoresProtect: boolean

    Returns this

  • Parameters

    • Optional ignoresVirtual: boolean

    Returns this

  • Parameters

    • Optional makesContact: boolean

    Returns this

  • Parameters

    • Optional powderMove: boolean

    Returns this

  • Parameters

    • Optional pulseMove: boolean

    Returns this

  • Parameters

    • Optional punchingMove: boolean

    Returns this

  • Parameters

    • Optional slicingMove: boolean

    Returns this

  • Parameters

    • Optional soundBased: boolean

    Returns this

  • Parameters

    • Optional triageMove: boolean

    Returns this

  • Parameters

    • Optional windMove: boolean

    Returns this