mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-25 09:52:02 +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(() => ({
|
createAdditiveModifier(() => ({
|
||||||
addend: () =>
|
addend: () =>
|
||||||
workshop.milestones.extraExpansionMilestone1.earned.value
|
Decimal.div(workshop.foundationProgress.value, 5).floor(),
|
||||||
? Decimal.pow(1.02, workshop.foundationProgress.value)
|
|
||||||
: Decimal.div(workshop.foundationProgress.value, 5).floor(),
|
|
||||||
description: "10% Foundation Completed",
|
description: "10% Foundation Completed",
|
||||||
enabled: workshop.milestones.autoCutMilestone1.earned
|
enabled: workshop.milestones.autoCutMilestone1.earned
|
||||||
})),
|
})),
|
||||||
|
@ -448,7 +446,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
enabled: researchUpgrade2.bought
|
enabled: researchUpgrade2.bought
|
||||||
})),
|
})),
|
||||||
createMultiplicativeModifier(() => ({
|
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",
|
description: "1% Foundation Completed",
|
||||||
enabled: workshop.milestones.logGainMilestone1.earned
|
enabled: workshop.milestones.logGainMilestone1.earned
|
||||||
})),
|
})),
|
||||||
|
|
Loading…
Reference in a new issue