mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-29 11:25:02 +00:00
Fix build error
This commit is contained in:
parent
b588d5a637
commit
cd0a2a82fd
1 changed files with 8 additions and 3 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue