From 03137ccd82ffcdbd303854dc7391668e7160802e Mon Sep 17 00:00:00 2001 From: innerthunder Date: Tue, 3 Sep 2024 23:50:20 -0700 Subject: [PATCH] Clean up `randomMultiplier` --- src/field/pokemon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 0ca7deb9c8f..abd3e39f528 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -2132,7 +2132,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { * A multiplier for random damage spread in the range [0.85, 1] * This is always 1 for simulated calls. */ - const randomMultiplier = simulated ? 1 : ((this.scene.randBattleSeedInt(16) + 85) / 100); + const randomMultiplier = simulated ? 1 : ((this.randSeedIntRange(85, 100)) / 100); const sourceTypes = source.getTypes(); const matchesSourceType = sourceTypes.includes(moveType);