Optional
sourceMove: MoveIdOptional
sourceId: numberPrivate
__Nonexistent, dummy field to allow typescript to distinguish this class from BattlerTag
Private
#isPrivate
#lapseOptional
sourceThe PID
of the Pokemon that added this tag, or undefined
if not set by a pokemon
Optional
sourceThe MoveId
that created this tag, or undefined
if not set by a move
Readonly
tagThe tag's remaining duration
The set of lapse types that this tag can be automatically lapsed with.
If this is exclusively BattlerTagLapseType.CUSTOM
, then the tag can only ever be lapsed
manually via Pokemon.lapseTag
(or calling the tag's lapse method directly)
Apply the battler tag's effects based on the lapse type
The Pokemon
whom this tag belongs to.
Unused by default but can be used by subclasses.
The BattlerTagLapseType
being lapsed.
Unused by default but can be used by subclasses.
true
if the tag should be kept (turnCount
> 0`)
Load the data for a given BattlerTag
or JSON representation thereof.
Should be inherited from by any battler tag with custom attributes.
A
BattlerTag
represents a semi-persistent effect that can be attached to aPokemon
. Tags can trigger various effects throughout a turn, and are cleared on switching out or through their respectivelapse
methods.