Sealed
Private
#damagePrivate
#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)
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.
BattlerTag
class for moves that block damaging moves damage the enemy if the enemy's move makes contact Used byMoveId.SPIKY_SHIELD