pokemon-rogue-battle
    Preparing search index...

    Class StatStageChangeAttr

    Attribute used for moves that change stat stages

    BattleStat Array of stat(s) to change

    How many stages to change the stat(s) by, [-6, 6]

    true if the move is self-targetting

    StatStageChangeAttrOptions Container for any optional parameters for this attribute.

    apply

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    options?: StatStageChangeAttrOptions

    Container for optional parameters to this attribute.

    StatStageChangeAttrOptions for available optional params

    selfTarget: boolean

    Should this Move target the user?

    stages: number
    stats: (ATK | DEF | SPATK | SPDEF | SPD | ACC | EVA)[]

    Accessors

    • get effectChanceOverride(): undefined | number

      If defined, overrides the move's base chance for this secondary effect to trigger.

      Returns undefined | number

    • get firstHitOnly(): boolean

      true if this effect should only trigger on the first hit of multi-hit moves.

      Returns boolean

      false
      
    • get firstTargetOnly(): boolean

      true if this effect should apply only upon hitting a target for the first time when targeting multiple Pokemon.

      Returns boolean

      false
      
    • get lastHitOnly(): boolean

      true if this effect should only trigger on the last hit of multi-hit moves.

      Returns boolean

      false
      

    Methods