mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-29 03:32:24 +02:00
Update src/data/ability.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
4295ed911f
commit
77720ed924
@ -2769,7 +2769,7 @@ export class ReflectStatStageChangeAbAttr extends PreStatStageChangeAbAttr {
|
|||||||
const attacker: Pokemon = _args[0];
|
const attacker: Pokemon = _args[0];
|
||||||
const stages = _args[1];
|
const stages = _args[1];
|
||||||
this.reflectedStat = stat;
|
this.reflectedStat = stat;
|
||||||
if (!_simulated) {
|
if (!simulated) {
|
||||||
attacker.scene.unshiftPhase(new StatStageChangePhase(attacker.scene, attacker.getBattlerIndex(), false, [ stat ], stages, true, false, true, null, true));
|
attacker.scene.unshiftPhase(new StatStageChangePhase(attacker.scene, attacker.getBattlerIndex(), false, [ stat ], stages, true, false, true, null, true));
|
||||||
}
|
}
|
||||||
cancelled.value = true;
|
cancelled.value = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user