Apply Kev's suggestions

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Sirz Benjie 2025-02-21 10:30:16 -06:00
parent 19782745ca
commit 7e8abced22
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -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 */