PokéRogue
    Preparing search index...

    Class MysteryEncounterPostSummonTag

    Tag that adds extra post-summon effects to a battle for a specific Pokemon. These post-summon effects are performed through Pokemon.mysteryEncounterBattleEffects, and can be used to unshift special phases, etc. Currently used only in MysteryEncounters to provide start of fight stat buffs.

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