Skip to content

Commit 06bb6a2

Browse files
committed
Fix effects not calculating correctly when multiplier is higher than 1
1 parent 1c4a44f commit 06bb6a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classes/game/base/modifiers/effect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ export class Effect extends SerializableWithReference {
4646
}
4747

4848
compute(opts: CalculationOptions): Decimal {
49-
return this.computeFunc(opts);
49+
return this.computeFunc(opts).mul(opts.multiplier);
5050
}
5151
}

0 commit comments

Comments
 (0)