Fix repeatables cost bug

This commit is contained in:
thepaperpilot 2023-05-14 12:52:10 -05:00
parent 8e0111688d
commit 2deef8decc

View file

@ -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(() =>