Optional
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
Lapse the tag and apply onContact
if the move makes contact and
lapseType
is custom, respecting the move's flags and the pokemon's
abilities, and whether the lapseType is custom.
The pokemon with the tag
The type of lapse to apply. If this is not CUSTOM
, no effect will be applied.
Whether the tag continues to exist after the lapse.
Load the data for a given BattlerTag
or JSON representation thereof.
Should be inherited from by any battler tag with custom attributes.
An object containing the fields needed to reconstruct this tag.
BattlerTag
class for moves that block damaging moves and lower enemy stats if the enemy's move makes contact Used byMoveId.KINGS_SHIELD
,MoveId.OBSTRUCT
,MoveId.SILK_TRAP