mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-21 07:42:25 +02:00
Apply Kev's suggestions
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
19782745ca
commit
7e8abced22
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user