Account for stack count with Wide Lens accuracy boost
parent
17eddd7b02
commit
ae2c9c1a57
|
@ -1468,7 +1468,7 @@ export class PokemonMoveAccuracyBoosterModifier extends PokemonHeldItemModifier
|
|||
|
||||
apply(args: any[]): boolean {
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue