#3722 merge fix something did not come with

This commit is contained in:
Jesse Chung 2024-08-26 20:04:37 -07:00
parent 9609d4442b
commit 250a529cc9

View File

@ -1949,7 +1949,7 @@ export class StatusEffectAttr extends MoveEffectAttr {
}
}
if ((!pokemon.status || (pokemon.status.effect === this.effect && moveChance < 0))
&& pokemon.trySetStatus(this.effect, true, user, this.cureTurn)) {
&& pokemon.trySetStatus(this.effect, false, user, this.cureTurn)) {
applyPostAttackAbAttrs(ConfusionOnStatusEffectAbAttr, user, target, move, null, false, this.effect);
return true;
}