PokéRogue
    Preparing search index...

    Class ContactStatStageChangeProtectedTag

    BattlerTag class for moves that block damaging moves and lower enemy stats if the enemy's move makes contact

    Hierarchy (View Summary)

    Index
    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.

    turnCount: number

    The tag's remaining duration.

    • get blockStatus(): boolean

      Whether this protection effect should block status moves.

      Returns boolean

      true

      Damaging moves are always blocked, regardless of this flag's state.

    • Check whether this Tag can be transferred to another Pokemon via Baton Pass.

      Parameters

      • recipient: Pokemon

        The Pokemon receiving this Tag (i.e. the one switching in) Unused by default but exposed to allow for subclasses to perform custom logic.

      Returns boolean

      Whether this Tag can be transferred via Baton Pass. Defaults to returning the value set in the class constructor.

    • Lapse the tag and apply onContact if the move makes contact and lapseType is custom, respecting the move's flags and the pokemon's abilities, and whether the lapseType is custom.

      Parameters

      Returns boolean

      Whether the tag continues to exist after the lapse.