Fix both side switch out moves softlocking
This commit is contained in:
1 parent
307c84914e
commit
a8ec37e7fa
1 file changed
+1
-1
+1
-1
@@ -2264,7 +2264,7 @@ export class ForceSwitchOutAttr extends MoveEffectAttr {
|
||||
private batonPass: boolean;
|
||||
|
||||
constructor(user?: boolean, batonPass?: boolean) {
|
||||
super(false, MoveEffectTrigger.HIT);
|
||||
super(false, MoveEffectTrigger.HIT, true);
|
||||
|
||||
this.user = !!user;
|
||||
this.batonPass = !!batonPass;
|
||||
|
||||
Reference in new issue
Block a user