AbstractAbstractconstructorOptionalsourceOptionalsourceThe MoveId that created this tag, or undefined if not set by a move.
Abstract ReadonlytagThe tag's remaining duration.
Protected AbstractanimationThe CommonAnim to play upon this Tag dealing damage.
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)
Protected AbstracttriggerReturn the i18n locales key of the text to be displayed when this tag deals damage.
Within the text, the following variables will be populated:
The locales key for the trigger message to be displayed on-screen.
ProtecteddamageProtected AbstractgetCheck whether this Tag can be transferred to another Pokemon via Baton Pass.
Whether this Tag can be transferred via Baton Pass. Defaults to returning the value set in the class constructor.
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 by default)
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
The
PIDof the Pokemon that added this tag, orundefinedif not set by a Pokemon.