mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-24 01:11:45 +00:00
Fix repeatables cost bug
This commit is contained in:
parent
8e0111688d
commit
2deef8decc
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ export function createPlane(
|
||||||
description = `Multiply previous ${
|
description = `Multiply previous ${
|
||||||
resource.displayName
|
resource.displayName
|
||||||
} gain by x${format(multiplier)}.`;
|
} gain by x${format(multiplier)}.`;
|
||||||
cost = costInput.add(1).times(initialCost);
|
cost = costInput.add(1).pow_base(multiplier).times(initialCost);
|
||||||
const prevGain = previousGain;
|
const prevGain = previousGain;
|
||||||
costFormula = costFormula.add(
|
costFormula = costFormula.add(
|
||||||
computed(() =>
|
computed(() =>
|
||||||
|
|
Loading…
Reference in a new issue