pokemon-rogue-battle
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    showAbility: boolean

    Methods

    • Apply the bonus crit ability by increasing the value in the provided number holder by 1

      Parameters

      • pokemon: default

        The pokemon with the BonusCrit ability (unused)

      • passive: boolean

        Unused

      • simulated: boolean

        Unused

      • cancelled: BooleanHolder

        Unused

      • args: [NumberHolder, ...any[]]

        Args[0] is a number holder containing the crit stage.

      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