mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-01-19 03:51:37 +00:00
Fix some refs being unwrapped
This commit is contained in:
parent
cd0a2a82fd
commit
7942f8f22c
2 changed files with 7 additions and 3 deletions
|
@ -1159,7 +1159,7 @@ const layer = createLayer(id, () => {
|
|||
.cbrt();
|
||||
},
|
||||
description: "Colorful Focus",
|
||||
enabled: oil.row3Upgrades[2].bought.value
|
||||
enabled: oil.row3Upgrades[2].bought
|
||||
}))
|
||||
]) as WithRequired<Modifier, "revert" | "description">;
|
||||
const maximumElvesModifier = createSequentialModifier(() => [
|
||||
|
|
|
@ -161,9 +161,13 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
enabled: management.elfTraining.metalElfTraining.milestones[1].earned
|
||||
})),
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: () => Decimal.add(dyes.dyes.red.amount, dyes.dyes.blue.amount).add(dyes.dyes.yellow.amount).add(1).log10(),
|
||||
multiplier: () =>
|
||||
Decimal.add(dyes.dyes.red.amount, dyes.dyes.blue.amount)
|
||||
.add(dyes.dyes.yellow.amount)
|
||||
.add(1)
|
||||
.log10(),
|
||||
description: "The Ultimate Metal Dye",
|
||||
enabled: oil.row3Upgrades[4].bought.value
|
||||
enabled: oil.row3Upgrades[4].bought
|
||||
}))
|
||||
]);
|
||||
const computedAutoSmeltSpeed = computed(() => autoSmeltSpeed.apply(0));
|
||||
|
|
Loading…
Add table
Reference in a new issue