pokemon-rogue-battle
    Preparing search index...

    BattlerTag that applies the effects of Taunt to the target Pokemon Taunt restricts the use of status moves. The tag is removed after 4 turns.

    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: TAUNT = BattlerTagType.TAUNT
    turnCount: number

    The tag's remaining duration

    Accessors

    • get isBatonPassable(): boolean

      Returns boolean

    Methods

    • Gets the text to display when a move's execution is prevented as a result of the restriction. Because restriction effects also prevent selection of the move, this situation can only arise if a pokemon first selects a move, then gets outsped by a pokemon using a move that restricts the selected move.

      Parameters

      Returns string

      The text to display when the move is interrupted

    • 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

    • Get the text to display when the player attempts to select a move that is restricted by this tag.

      Parameters

      • pokemon: Pokemon

        The pokemon for which the player is attempting to select the restricted move

      • move: MoveId

        The ID of the Move that is having its selection denied

      Returns string

      The text to display when the player attempts to select the restricted move