Implements

Constructors

Properties

attrs: AbAttr[]
conditions: AbAttrCondition[]
description: string
generation: number
isBypassFaint: boolean
isIgnorable: boolean
name: string

Methods

  • Internal flag used for developers to document edge cases. When using this, please be sure to document the edge case.

    Returns this

    the ability

  • Get all ability attributes that match attrType

    Type Parameters

    Parameters

    Returns T[]

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

  • Check if an ability has an attribute that matches attrType

    Type Parameters

    Parameters

    Returns boolean

    true if the ability has attribute attrType