Fix status turns not incrementing properly

pull/727/head
kd8lvt 2024-05-10 20:47:46 -04:00
parent 379e5fe5c2
commit 036ab38923
1 changed files with 1 additions and 0 deletions

View File

@ -2413,6 +2413,7 @@ export class HealFromStatusAbAttr extends AbAttr {
if (pokemon.status.effect === this.statusEffect || pokemon.status.effect === this.statusEffect2) {
let healAmount: integer = Math.floor(pokemon.getMaxHp()*(this.healRatio/8));
pokemon.heal(healAmount);
pokemon.status.incrementTurn();
cancelled.value = true;
return true;
}