pokemon-rogue-battle
    Preparing search index...

    Battle Tag that applies the move Torment to the target Pokemon Torment restricts the use of moves twice in a row. The tag is only removed if the target leaves the battle. Torment does not interrupt the move if the move is performed consecutively in the same turn and right after Torment is applied

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

      • _pokemon: Pokemon

        The pokemon attempting to use the restricted move

      • _move: MoveId

        The ID of the move being interrupted

      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