Download raises either the Attack stat or Special Attack stat by one stage depending on the foe's currently lowest defensive stat: it will raise Attack if the foe's current Defense is lower than its current Special Defense stat; otherwise, it will raise Special Attack.

See

Hierarchy (view full)

Constructors

Properties

enemyCountTally: number
enemyDef: number
enemySpDef: number
showAbility: boolean
stats: BattleStat[]

Methods

  • Checks to see if it is the opening turn (starting a new game), if so, Download won't work. This is because Download takes into account vitamins and items, so it needs to use the BattleStat and the stat alone.

    Parameters

    • pokemon: default

      Pokemon that is using the move, as well as seeing the opposing pokemon.

    • passive: boolean

      N/A

    • args: any[]

      N/A

    Returns boolean

    Returns true if ability is used successful, false if not.