Readonly
eventOptional
targetIndex: BattlerIndexRest
...args: unknown[]Rest
...args: unknown[]Attempts to set a new weather to the battle
new weather to set of type WeatherType
is the new weather from a pokemon
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
new weather to set of type WeatherType
true to force trySetWeather to return true
Gets the denominator for the chance for a trainer spawn