From 9313221f9f9195d603a1a84504702f4fc68deb42 Mon Sep 17 00:00:00 2001 From: PrabbyDD Date: Sat, 21 Sep 2024 00:46:21 -0700 Subject: [PATCH] changing hitcheck return to be what it was originally, no significant effect --- src/phases/move-effect-phase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases/move-effect-phase.ts b/src/phases/move-effect-phase.ts index a5c58de6dc7..263a576c4f0 100644 --- a/src/phases/move-effect-phase.ts +++ b/src/phases/move-effect-phase.ts @@ -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 */