Constructors

Properties

bgm: string
biomeType: Biome
eventTarget: EventTarget = ...
ignoreAbilities: boolean
lastTimeOfDay: TimeOfDay
pokemonPool: PokemonPools
scene: default
tags: ArenaTag[]
terrain: Terrain
weather: Weather

Methods

  • Parameters

    • attackType: Type
    • grounded: boolean

    Returns number

  • Parameters

    • waveIndex: number
    • level: number
    • Optional attempt: number
    • Optional luckValue: number

    Returns default

  • Parameters

    • ignoreAbilities: boolean = true

    Returns void

  • Parameters

    • terrain: TerrainType
    • hasPokemonSource: boolean
    • ignoreAnim: boolean = false

    Returns boolean

  • Attempts to set a new weather to the battle

    Parameters

    • weather: WeatherType

      new weather to set of type WeatherType

    • hasPokemonSource: boolean

      is the new weather from a pokemon

    Returns boolean

    true if new weather set, false if no weather provided or attempting to set the same weather as currently in use

  • Sets weather to the override specified in overrides.ts

    Parameters

    • weather: WeatherType

      new weather to set of type WeatherType

    Returns boolean

    true to force trySetWeather to return true