PokéRogue
    Preparing search index...

    Class DisabledTagSealed

    Tag representing the "disabling" effect performed by MoveId.DISABLE and AbilityId.CURSED_BODY. When the tag is added, the last-used move of the tag holder is set as the disabled move.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    moveId: MoveId = MoveId.NONE

    The move being disabled. Gets set when onAdd is called for this tag.

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

    The tag's remaining duration.

    Accessors

    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.