mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-21 16:13:57 +00:00
Merge branch 'main' of https://github.com/thepaperpilot/Advent-Incremental
This commit is contained in:
commit
fc01f5571d
1 changed files with 3 additions and 4 deletions
|
@ -293,9 +293,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
})),
|
||||
createAdditiveModifier(() => ({
|
||||
addend: () =>
|
||||
workshop.milestones.extraExpansionMilestone1.earned.value
|
||||
? Decimal.pow(1.02, workshop.foundationProgress.value)
|
||||
: Decimal.div(workshop.foundationProgress.value, 5).floor(),
|
||||
Decimal.div(workshop.foundationProgress.value, 5).floor(),
|
||||
description: "10% Foundation Completed",
|
||||
enabled: workshop.milestones.autoCutMilestone1.earned
|
||||
})),
|
||||
|
@ -448,7 +446,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
enabled: researchUpgrade2.bought
|
||||
})),
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: () => Decimal.div(workshop.foundationProgress.value, 20).add(1),
|
||||
multiplier: () => workshop.milestones.extraExpansionMilestone1.earned.value
|
||||
? Decimal.pow(1.02, workshop.foundationProgress.value) : Decimal.div(workshop.foundationProgress.value, 20).add(1),
|
||||
description: "1% Foundation Completed",
|
||||
enabled: workshop.milestones.logGainMilestone1.earned
|
||||
})),
|
||||
|
|
Loading…
Reference in a new issue