Implements

Constructors

Properties

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

Methods

  • 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