pokemon-rogue-battle
    Preparing search index...

    BattlerTag implementing Shell Trap's pre-move behavior. Pokemon with this tag will act immediately after being hit by a physical move.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    activated: boolean = false
    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: SHELL_TRAP = BattlerTagType.SHELL_TRAP
    turnCount: number

    The tag's remaining duration

    Accessors

    Methods

    • 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