From 7e8abced227fa4f593a59e3834446fc7459d348e Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Fri, 21 Feb 2025 10:30:16 -0600 Subject: [PATCH] Apply Kev's suggestions Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> --- src/data/move.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/move.ts b/src/data/move.ts index 28b7ee7fdbd..d2699b3ac8e 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -938,7 +938,7 @@ export default class Move implements Localizable { if (multiHitAttr) { effectivePower = multiHitAttr.calculateExpectedHitCount(this) * this.power; } else { - effectivePower = this.power * this.accuracy === -1 ? 1 : this.accuracy / 100; + effectivePower = this.power * (this.accuracy === -1 ? 1 : this.accuracy / 100); } } /** The number of turns the user must commit to for this move's damage */