pokemon-rogue-battle
    Preparing search index...

    Class PostSummonStatStageChangeOnArenaAbAttr

    Applies a stat change after a Pokémon is summoned, conditioned on the presence of a specific arena tag.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    showAbility: boolean

    Methods

    • Applies the post-summon stat change if the specified arena tag is present on pokemon's side. This is used in Wind Rider ability.

      Parameters

      • pokemon: default

        The Pokémon being summoned.

      • passive: boolean

        Whether the effect is passive.

      • simulated: boolean
      • args: any[]

        Additional arguments.

      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