changing hitcheck return to be what it was originally, no significant effect

This commit is contained in:
PrabbyDD 2024-09-21 00:46:21 -07:00
parent b2088fa6b4
commit 9313221f9f

View File

@ -415,7 +415,7 @@ export class MoveEffectPhase extends PokemonPhase {
const accuracyMultiplier = user.getAccuracyMultiplier(target, this.move.getMove());
const rand = user.randSeedInt(100);
return (rand < accuracyMultiplier * moveAccuracy);
return rand < (moveAccuracy * accuracyMultiplier);
}
/** Returns the {@linkcode Pokemon} using this phase's invoked move */