mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-26 09:19:31 +02:00
More nit fixes
This commit is contained in:
parent
9d2ece81ef
commit
039f980a71
@ -5303,9 +5303,6 @@ export class ForceSwitchOutAttr extends MoveEffectAttr {
|
||||
|
||||
|
||||
export class ChillyReceptionAttr extends ForceSwitchOutAttr {
|
||||
|
||||
// using inherited constructor
|
||||
|
||||
apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean {
|
||||
user.scene.arena.trySetWeather(WeatherType.SNOW, true);
|
||||
return super.apply(user, target, move, args);
|
||||
|
@ -18,7 +18,7 @@ export class SwitchPhase extends BattlePhase {
|
||||
/**
|
||||
* Creates a new SwitchPhase
|
||||
* @param scene {@linkcode BattleScene} Current battle scene
|
||||
* @param switchType The type of switch logic this phase implements
|
||||
* @param switchType {@linkcode SwitchType} The type of switch logic this phase implements
|
||||
* @param fieldIndex Field index to switch out
|
||||
* @param isModal Indicates if the switch should be forced (true) or is
|
||||
* optional (false).
|
||||
|
Loading…
Reference in New Issue
Block a user