Account for stack count with Wide Lens accuracy boost

pull/215/head
Flashfyre 2024-04-20 22:59:48 -04:00
parent 17eddd7b02
commit ae2c9c1a57
1 changed files with 1 additions and 1 deletions

View File

@ -1468,7 +1468,7 @@ export class PokemonMoveAccuracyBoosterModifier extends PokemonHeldItemModifier
apply(args: any[]): boolean { apply(args: any[]): boolean {
const moveAccuracy = (args[1] as Utils.IntegerHolder); const moveAccuracy = (args[1] as Utils.IntegerHolder);
moveAccuracy.value = Math.min(moveAccuracy.value + this.accuracyAmount, 100); moveAccuracy.value = Math.min(moveAccuracy.value + this.accuracyAmount * this.getStackCount(), 100);
return true; return true;
} }