Update modifiers

This commit is contained in:
thepaperpilot 2022-07-26 18:17:14 -05:00
parent 2850216934
commit d323946c31

View file

@ -367,13 +367,13 @@ const layer = createLayer(id, () => {
baseResource: main.points, baseResource: main.points,
gainResource: points, gainResource: points,
roundUpCost: true, roundUpCost: true,
gainModifier: createSequentialModifier( gainModifier: createSequentialModifier(() => [
createExponentialModifier(() => ({ createExponentialModifier(() => ({
exponent: 2, exponent: 2,
description: "Because I felt like it" description: "Because I felt like it"
})), })),
createAdditiveModifier(() => ({ addend: 1, description: "Nice modifier" })) createAdditiveModifier(() => ({ addend: 1, description: "Nice modifier" }))
) as WithRequired<Modifier, "description" | "revert"> ]) as WithRequired<Modifier, "description" | "revert">
})); }));
const reset = createReset(() => ({ const reset = createReset(() => ({