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(): AbAttrCondition
Returns AbAttrCondition
getTriggerMessage
- getTriggerMessage(pokemon, abilityName, ...args): string
Parameters
- pokemon: default
- abilityName: string
Rest
...args: any[]
Returns string