mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-16 06:45:24 +01:00
Make e4 not automatically recharge tera
This commit is contained in:
parent
dcb2f32129
commit
64ad2ee9c2
@ -1476,10 +1476,7 @@ export class BattleScene extends SceneBase {
|
|||||||
pokemon.resetBattleAndWaveData();
|
pokemon.resetBattleAndWaveData();
|
||||||
pokemon.resetTera();
|
pokemon.resetTera();
|
||||||
applyAbAttrs("PostBattleInitAbAttr", { pokemon });
|
applyAbAttrs("PostBattleInitAbAttr", { pokemon });
|
||||||
if (
|
if (pokemon.hasSpecies(SpeciesId.TERAPAGOS)) {
|
||||||
pokemon.hasSpecies(SpeciesId.TERAPAGOS) ||
|
|
||||||
(this.gameMode.isClassic && this.currentBattle.waveIndex > 180 && this.currentBattle.waveIndex <= 190)
|
|
||||||
) {
|
|
||||||
this.arena.playerTerasUsed = 0;
|
this.arena.playerTerasUsed = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user