mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 16:35:46 +00:00
implement focus upgrades 4, 6
This commit is contained in:
parent
8b948736a5
commit
07d085d15b
1 changed files with 6 additions and 1 deletions
|
@ -1121,7 +1121,7 @@ const layer = createLayer(id, () => {
|
|||
focusTargets.value = {};
|
||||
focusMulti.value = Decimal.pow(
|
||||
focusMaxMulti.value,
|
||||
1 - Math.abs(Math.sin((Date.now() / 1000) * 2))
|
||||
Decimal.pow(1 - Math.abs(Math.sin((Date.now() / 1000) * 2)), focusUpgrade4.bought ? 0.5 : 1)
|
||||
);
|
||||
}
|
||||
});
|
||||
|
@ -1145,6 +1145,11 @@ const layer = createLayer(id, () => {
|
|||
addend: 1,
|
||||
description: "Focus Upgrade 2",
|
||||
enabled: focusUpgrade2.bought
|
||||
})),
|
||||
createAdditiveModifier(() => ({
|
||||
addend: 1,
|
||||
description: "Focus Upgrade 6",
|
||||
enabled: focusUpgrade6.bought
|
||||
}))
|
||||
]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue