PokéRogue
    Preparing search index...

    Class ContactSetStatusProtectedTag

    BattlerTag class for protection effects that set a status condition on contact.

    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.

    turnCount: number

    The tag's remaining duration.

    Accessors

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

    Methods

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