PokéRogue
    Preparing search index...

    Applies the Ingrain tag to a pokemon

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

    The tag's remaining duration.

    Accessors

    Methods

    • Check if the Ingrain tag can be added to the pokemon

      Parameters

      • pokemon: Pokemon

        The pokemon to check if the tag can be added to

      Returns boolean

      boolean True if the tag can be added, false otherwise

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

      Parameters

      Returns boolean

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

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