pokemon-rogue-battle
    Preparing search index...

    Arena Tag class for Mist. Prevents Pokémon on the opposing side from lowering the stats of the Pokémon in the Mist.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    side: ArenaTagSide = ArenaTagSide.BOTH
    sourceId?: number
    sourceMove?: Moves
    tagType: ArenaTagType
    turnCount: number

    Methods

    • Cancels the lowering of stats

      Parameters

      • _arena: Arena

        the Arena containing this effect

      • simulated: boolean

        true if the effect should be applied quietly

      • attacker: default

        the Pokemon using a move into this effect.

      • cancelled: BooleanHolder

        a BooleanHolder whose value is set to true to flag the stat reduction as cancelled

      Returns boolean

      true if a stat reduction was cancelled; false otherwise

    • When given a arena tag or json representing one, load the data for it. This is meant to be inherited from by any arena tag with custom attributes

      Parameters

      • source: any

        An arena tag

      Returns void