Add gainModifier to c's conversion
This commit is contained in:
parent
7cf8b317cc
commit
9319e0d045
1 changed files with 9 additions and 2 deletions
|
@ -16,8 +16,11 @@ import { createChallenge } from "features/challenges/challenge";
|
||||||
import { createClickable } from "features/clickables/clickable";
|
import { createClickable } from "features/clickables/clickable";
|
||||||
import {
|
import {
|
||||||
addSoftcap,
|
addSoftcap,
|
||||||
|
createAdditiveModifier,
|
||||||
createCumulativeConversion,
|
createCumulativeConversion,
|
||||||
createPolynomialScaling
|
createExponentialModifier,
|
||||||
|
createPolynomialScaling,
|
||||||
|
createSequentialModifier
|
||||||
} from "features/conversion";
|
} from "features/conversion";
|
||||||
import { jsx, showIf, Visibility } from "features/feature";
|
import { jsx, showIf, Visibility } from "features/feature";
|
||||||
import { createHotkey } from "features/hotkey";
|
import { createHotkey } from "features/hotkey";
|
||||||
|
@ -350,7 +353,11 @@ const layer = createLayer(() => {
|
||||||
scaling: addSoftcap(createPolynomialScaling(10, 0.5), 1e100, 0.5),
|
scaling: addSoftcap(createPolynomialScaling(10, 0.5), 1e100, 0.5),
|
||||||
baseResource: main.points,
|
baseResource: main.points,
|
||||||
gainResource: points,
|
gainResource: points,
|
||||||
roundUpCost: true
|
roundUpCost: true,
|
||||||
|
gainModifier: createSequentialModifier(
|
||||||
|
createExponentialModifier(2),
|
||||||
|
createAdditiveModifier(1)
|
||||||
|
)
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const reset = createReset(() => ({
|
const reset = createReset(() => ({
|
||||||
|
|
Loading…
Reference in a new issue