Fix both side switch out moves softlocking
This commit is contained in:
parent
307c84914e
commit
a8ec37e7fa
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue