pokemon-rogue-battle
    Preparing search index...

    Class BlockStatusDamageAbAttr

    This attribute will block any status damage that you put in the parameter.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    showAbility: boolean

    Methods

    • Parameters

      • pokemon: default

        The pokemon with the ability

      • passive: boolean

        N/A

      • simulated: boolean
      • cancelled: BooleanHolder

        Whether to cancel the status damage

      • args: any[]

        N/A

      Returns void

    • Returns a boolean describing whether the ability can be applied under current conditions

      Parameters

      • pokemon: default

        The pokemon to apply this ability to

      • passive: boolean

        Whether or not the ability is a passive

      • simulated: boolean

        Whether the call is simulated

      • args: any[]

        Extra args passed to the function. Handled by child classes.

      Returns boolean

      true if the ability can be applied, false otherwise

      apply