mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-27 10:42:25 +02:00
changed documentation since Battle.playerFaints is not used in supreme overlord
This commit is contained in:
parent
1731fa4a41
commit
51e1ae150f
@ -97,7 +97,7 @@ export class FaintPhase extends PokemonPhase {
|
|||||||
const pokemon = this.getPokemon();
|
const pokemon = this.getPokemon();
|
||||||
|
|
||||||
|
|
||||||
// Track total times pokemon have been KO'd for supreme overlord/last respects
|
// Track total times pokemon have been KO'd for last respect
|
||||||
if (pokemon.isPlayer()) {
|
if (pokemon.isPlayer()) {
|
||||||
globalScene.currentBattle.playerFaints += 1;
|
globalScene.currentBattle.playerFaints += 1;
|
||||||
globalScene.currentBattle.playerFaintsHistory.push({ pokemon: pokemon, turn: globalScene.currentBattle.turn });
|
globalScene.currentBattle.playerFaintsHistory.push({ pokemon: pokemon, turn: globalScene.currentBattle.turn });
|
||||||
|
Loading…
Reference in New Issue
Block a user