diff --git a/src/data/layers/prestige.tsx b/src/data/layers/prestige.tsx index 4490ded..30fe99f 100644 --- a/src/data/layers/prestige.tsx +++ b/src/data/layers/prestige.tsx @@ -3,7 +3,7 @@ * @hidden */ import { main } from "data/projEntry"; -import { createCumulativeConversion, createPolynomialScaling } from "features/conversion"; +import { createCumulativeConversion } from "features/conversion"; import { jsx } from "features/feature"; import { createHotkey } from "features/hotkey"; import { createReset } from "features/reset"; @@ -23,10 +23,9 @@ const layer = createLayer(id, function (this: BaseLayer) { const points = createResource(0, "prestige points"); const conversion = createCumulativeConversion(() => ({ - scaling: createPolynomialScaling(10, 0.5), + formula: x => x.div(10).sqrt(), baseResource: main.points, - gainResource: points, - roundUpCost: true + gainResource: points })); const reset = createReset(() => ({ diff --git a/src/features/conversion.ts b/src/features/conversion.ts index 9eeb792..1ccf26b 100644 --- a/src/features/conversion.ts +++ b/src/features/conversion.ts @@ -92,6 +92,7 @@ export interface BaseConversion { export type Conversion = Replace< T & BaseConversion, { + formula: InvertibleFormula; currentGain: GetComputableTypeWithDefault>; actualGain: GetComputableTypeWithDefault>; currentAt: GetComputableTypeWithDefault>; @@ -105,7 +106,6 @@ export type Conversion = Replace< export type GenericConversion = Replace< Conversion, { - formula: InvertibleFormula; currentGain: ProcessedComputable; actualGain: ProcessedComputable; currentAt: ProcessedComputable;