PokéRogue
    Preparing search index...

    Tag to implement the temporary grounding effect of Roost. Roost removes the user's Flying type (if they have one) for the remainder of the current turn.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    isBasePureFlying: boolean = false

    Whether the Pokemon was purely Flying-type prior to using Roost, barring any added types. Pure flying-types will have their Flying-type changed to Normal instead of being removed.

    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

    Methods

    • Apply the battler tag's effects based on the lapse type

      Parameters

      Returns boolean

      true if the tag should be kept (turnCount > 0`)

      Generally, this involves ticking down the tag's duration. The tag also initiates the effects it is responsbile for