Fix PP ups going above 3

pull/22/head
Flashfyre 2024-03-31 22:36:33 -04:00
parent 656550dd2d
commit 814eb3053e
1 changed files with 1 additions and 1 deletions

View File

@ -1087,7 +1087,7 @@ export class PokemonPpUpModifier extends ConsumablePokemonMoveModifier {
apply(args: any[]): boolean {
const pokemon = args[0] as Pokemon;
const move = pokemon.getMoveset()[this.moveIndex];
move.ppUp = Math.min(move.ppUp + this.upPoints, move.ppUp + 3);
move.ppUp = Math.min(move.ppUp + this.upPoints, 3);
return true;
}