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.
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}} and {{sourcePokemonName}} will be populated with
the name of the Pokemon to whom this Tag is attached
and the source Pokemon's name, respectively.
Check 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
BattlerTag to implement the effects of Ingrain.
Ingrain heals the user for 1/16th of their maximum HP each turn while grounding them and trapping them on-field.
See
GroundedTag- Tag used by Ingrain and other effects to forcibly ground target