This commit is contained in:
Jesse Chung 2024-08-26 20:04:37 -07:00 committed by new name
parent 9f9d2dc71c
commit 89f9fd91b5

View File

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