mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-10 10:22:18 +02:00
increments properly, but voucher reward phase not appearing
This commit is contained in:
parent
a959abcdb8
commit
efccef9f1c
@ -3544,7 +3544,7 @@ export class GameOverPhase extends BattlePhase {
|
||||
// first time classic win, award voucher
|
||||
if (speciesRibbonCount === 1) {
|
||||
const rootSpeciesId = species.getRootSpeciesId(true);
|
||||
this.scene.pushPhase(new ModifierRewardPhase(this.scene, modifierTypes.VOUCHER_PLUS));
|
||||
this.scene.pushPhase(new ModifierRewardPhase(this.scene, modifierTypes.VOUCHER));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1102,7 +1102,7 @@ export class GameData {
|
||||
if(ribbonsInStats >= 10)
|
||||
this.scene.validateAchv(achvs._10_RIBBONS);
|
||||
|
||||
return this.starterData[speciesIdToIncrement].winCount++;
|
||||
return ++this.starterData[speciesIdToIncrement].winCount;
|
||||
}
|
||||
|
||||
addStarterCandy(species: PokemonSpecies, count: integer): void {
|
||||
|
Loading…
Reference in New Issue
Block a user