diff --git a/src/data/layers/prestige.tsx b/src/data/layers/prestige.tsx index d228e7d..3b8ca55 100644 --- a/src/data/layers/prestige.tsx +++ b/src/data/layers/prestige.tsx @@ -1,5 +1,5 @@ import { main } from "data/projEntry"; -import { createCumulativeConversion, createExponentialScaling } from "features/conversion"; +import { createCumulativeConversion, createPolynomialScaling } from "features/conversion"; import { jsx } from "features/feature"; import { createReset } from "features/reset"; import MainDisplay from "features/resources/MainDisplay.vue"; @@ -16,7 +16,7 @@ const layer = createLayer(() => { const points = createResource(0, "prestige points"); const conversion = createCumulativeConversion(() => ({ - scaling: createExponentialScaling(10, 0.5), + scaling: createPolynomialScaling(10, 0.5), baseResource: main.points, gainResource: points, roundUpCost: true diff --git a/src/features/conversion.ts b/src/features/conversion.ts index 3b2ed83..cfa7ee5 100644 --- a/src/features/conversion.ts +++ b/src/features/conversion.ts @@ -132,7 +132,7 @@ export function createLinearScaling( // Gain formula is (baseResource / base) ^ exponent // e.g. if exponent is 0.5 and base is 10, then having 10 points makes gain 1, and 40 points is 2 -export function createExponentialScaling( +export function createPolynomialScaling( base: DecimalSource | Ref, exponent: DecimalSource | Ref ): ScalingFunction {