Update src/data/ability.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
PrabbyDD 2024-12-09 18:30:28 -08:00 committed by GitHub
parent 4295ed911f
commit 77720ed924
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2769,7 +2769,7 @@ export class ReflectStatStageChangeAbAttr extends PreStatStageChangeAbAttr {
const attacker: Pokemon = _args[0];
const stages = _args[1];
this.reflectedStat = stat;
if (!_simulated) {
if (!simulated) {
attacker.scene.unshiftPhase(new StatStageChangePhase(attacker.scene, attacker.getBattlerIndex(), false, [ stat ], stages, true, false, true, null, true));
}
cancelled.value = true;