mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-29 10:49:29 +02:00
changing hitcheck return to be what it was originally, no significant effect
This commit is contained in:
parent
b2088fa6b4
commit
9313221f9f
@ -415,7 +415,7 @@ export class MoveEffectPhase extends PokemonPhase {
|
|||||||
const accuracyMultiplier = user.getAccuracyMultiplier(target, this.move.getMove());
|
const accuracyMultiplier = user.getAccuracyMultiplier(target, this.move.getMove());
|
||||||
const rand = user.randSeedInt(100);
|
const rand = user.randSeedInt(100);
|
||||||
|
|
||||||
return (rand < accuracyMultiplier * moveAccuracy);
|
return rand < (moveAccuracy * accuracyMultiplier);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Returns the {@linkcode Pokemon} using this phase's invoked move */
|
/** Returns the {@linkcode Pokemon} using this phase's invoked move */
|
||||||
|
Loading…
Reference in New Issue
Block a user