pokemon-rogue-battle
    Preparing search index...

    Class ConditionalProtectTag

    Class to implement conditional team protection applies protection based on the attributes of incoming moves

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    ignoresBypass: boolean

    Does this apply to all moves, including those that ignore other forms of protection?

    protectConditionFunc: ProtectConditionFunc

    The condition function to determine which moves are negated

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

    Methods

    • 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