From 6b3b85179185ba1dfb075c0184d52305dd173216 Mon Sep 17 00:00:00 2001 From: unsoftcapped3 <75136164+unsoftcapped3@users.noreply.github.com> Date: Tue, 13 Dec 2022 10:53:51 -0800 Subject: [PATCH] fix 200% milestone applying to the wrong thing --- src/data/layers/trees.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/data/layers/trees.tsx b/src/data/layers/trees.tsx index 5176d8a..b07df91 100644 --- a/src/data/layers/trees.tsx +++ b/src/data/layers/trees.tsx @@ -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 })),