Constructors
constructor
- new AbAttr(showAbility?): AbAttr
Parameters
- showAbility: boolean = true
Properties
showAbility
showAbility: boolean
Methods
addCondition
- addCondition(condition): AbAttr
Parameters
- condition: AbAttrCondition
apply
- apply(pokemon, passive, cancelled, args): boolean | Promise<boolean>
Returns boolean | Promise<boolean>
getCondition
- getCondition(): null | AbAttrCondition
Returns null | AbAttrCondition
getTriggerMessage
- getTriggerMessage(_pokemon, _abilityName, ..._args): null | string
Parameters
- _pokemon: default
- _abilityName: string
Rest
..._args: any[]
Returns null | string