OptionalsourceThe PID of the Pokemon that added this tag, or undefined if not set by a Pokemon.
OptionalsourceThe MoveId that created this tag, or undefined if not set by a move.
ReadonlytagThe tag's remaining duration.
ProtectedanimationThe 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)
ProtectedonReturn the i18n locales key that will be shown when this tag is added.
Within the text, {{pokemonNameWithAffix}} will be populated with the name of the
Pokemon to whom this Tag is attached.
ProtectedtriggerReturn 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.
ProtecteddamageProtectedgetCheck 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.
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
Abstract class to damage the attached Pokemon at the end of each turn.
Triggers repeatedly until removed by an effect or move.