From 172233328ebd8e20e315fa3007f211cec33d49f4 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 18 Dec 2022 23:44:11 -0600 Subject: [PATCH] Carol cooldown modifiers --- src/data/layers/elves.tsx | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/data/layers/elves.tsx b/src/data/layers/elves.tsx index dba0ca7..a577585 100644 --- a/src/data/layers/elves.tsx +++ b/src/data/layers/elves.tsx @@ -420,7 +420,24 @@ const layer = createLayer(id, function (this: BaseLayer) { })) ]); - const dyeCooldown = createSequentialModifier(() => []); + const dyeCooldown = createSequentialModifier(() => [ + createMultiplicativeModifier(() => ({ + multiplier: 2, + description: "6 Elves Trained", + enabled: elvesMilestone.earned + })), + createMultiplicativeModifier(() => ({ + multiplier: () => + Decimal.times(paper.books.primaryDyeBook.totalAmount.value, 0.1).add(1), + description: "Arts and Crafts", + enabled: () => Decimal.gt(paper.books.primaryDyeBook.totalAmount.value, 0) + })), + createMultiplicativeModifier(() => ({ + multiplier: 2, + description: "10 Elves Trained", + enabled: elvesMilestone2.earned + })) + ]); const [generalTab, generalTabCollapsed] = createCollapsibleModifierSections(() => [ {