Skip to content

Commit

Permalink
Reinstate temporary evolution delay fix (#4458)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fontbane authored Sep 27, 2024
1 parent 5997744 commit c7f00d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/data/pokemon-species.ts
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,13 @@ export default class PokemonSpecies extends PokemonSpeciesForm implements Locali
}
}

//TODO: Adjust templates and delays so we don't have to hardcode it
/* TEMPORARY! (Most) Trainers shouldn't be using unevolved Pokemon by the third gym leader / wave 80. Exceptions to this include Breeders, whose large teams are balanced by the use of weaker pokemon */
if (currentWave >= 80 && forTrainer && strength > PartyMemberStrength.WEAKER) {
evolutionChance = 1;
noEvolutionChance = 0;
}

if (evolutionChance > 0) {
if (isRegionalEvolution) {
evolutionChance /= (evolutionSpecies.isRareRegional() ? 16 : 4);
Expand Down

0 comments on commit c7f00d0

Please sign in to comment.