pokemon-rogue-battle
    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

    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: AQUA_RING = BattlerTagType.AQUA_RING
    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