Constructors
constructor
- new BattlerTag(tagType, lapseType, turnCount, sourceMove, sourceId?): BattlerTag
Properties
Optional
sourceId
sourceId?: number
turnCount
turnCount: number
Methods
canAdd
- canAdd(pokemon): boolean
Returns boolean
getDescriptor
- getDescriptor(): string
Returns string
getMoveName
- getMoveName(): string
Returns string
isSourceLinked
- isSourceLinked(): boolean
Returns boolean
lapse
- lapse(pokemon, lapseType): boolean
Returns boolean
loadTag
- loadTag(source): void
Returns void
onAdd
- onAdd(pokemon): void
Returns void
onOverlap
- onOverlap(pokemon): void
Returns void
onRemove
- onRemove(pokemon): void
Returns void
When given a battler tag or json representing one, load the data for it. This is meant to be inherited from by any battler tag with custom attributes