Fix build error

This commit is contained in:
thepaperpilot 2022-12-13 23:24:07 -06:00
parent b588d5a637
commit cd0a2a82fd

View file

@ -1152,11 +1152,16 @@ const layer = createLayer(id, () => {
enabled: focusUpgrade1.bought enabled: focusUpgrade1.bought
})), })),
createAdditiveModifier(() => ({ createAdditiveModifier(() => ({
addend(){return Decimal.add(dyes.dyes.orange.amount, dyes.dyes.purple.amount).add(dyes.dyes.green.amount).add(1).cbrt()}, addend() {
return Decimal.add(dyes.dyes.orange.amount, dyes.dyes.purple.amount)
.add(dyes.dyes.green.amount)
.add(1)
.cbrt();
},
description: "Colorful Focus", description: "Colorful Focus",
enabled: oil.row3Upgrades[2].bought.value enabled: oil.row3Upgrades[2].bought.value
})), }))
]); ]) as WithRequired<Modifier, "revert" | "description">;
const maximumElvesModifier = createSequentialModifier(() => [ const maximumElvesModifier = createSequentialModifier(() => [
createAdditiveModifier(() => ({ createAdditiveModifier(() => ({
addend: 1, addend: 1,