PokéRogue
    Preparing search index...

    A BattlerTag represents a semi-persistent effect that can be attached to a Pokemon. Tags can trigger various effects throughout a turn, and are cleared on switching out or through their respective lapse methods.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    "#commonAnim": CommonAnim

    The animation to play during the damage sequence

    "#isBatonPassable": boolean = false
    "#lapseTypes": readonly [BattlerTagLapseType, BattlerTagLapseType]
    sourceId?: number

    The PID of the Pokemon that added this tag, or undefined if not set by a pokemon

    sourceMove?: MoveId

    The MoveId that created this tag, or undefined if not set by a move

    tagType: CLAMP = BattlerTagType.CLAMP
    turnCount: number

    The tag's remaining duration

    Accessors

    Methods

    • Load the data for a given BattlerTag or JSON representation thereof. Should be inherited from by any battler tag with custom attributes.

      Type Parameters

      Parameters

      • source: BaseBattlerTag & Pick<T, "tagType">

        An object containing the fields needed to reconstruct this tag.

      Returns void