Fix both side switch out moves softlocking

pull/47/head
Flashfyre 2024-04-06 12:38:07 -04:00
parent 307c84914e
commit a8ec37e7fa
1 changed files with 1 additions and 1 deletions

View File

@ -2264,7 +2264,7 @@ export class ForceSwitchOutAttr extends MoveEffectAttr {
private batonPass: boolean; private batonPass: boolean;
constructor(user?: boolean, batonPass?: boolean) { constructor(user?: boolean, batonPass?: boolean) {
super(false, MoveEffectTrigger.HIT); super(false, MoveEffectTrigger.HIT, true);
this.user = !!user; this.user = !!user;
this.batonPass = !!batonPass; this.batonPass = !!batonPass;