mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-02-16 09:31:43 +00:00
Implemented Jack lv1-3
This commit is contained in:
parent
28c7ac581b
commit
5f7c3f0ab3
2 changed files with 11 additions and 2 deletions
|
@ -431,6 +431,9 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
if (Decimal.gte(v, 200)) v = Decimal.pow(v, 2).div(200);
|
||||
if (Decimal.gte(v, 2e6)) v = Decimal.pow(v, 2).div(2e6);
|
||||
v = Decimal.pow(0.95, paper.books.heatedCuttersBook.amount.value).times(v);
|
||||
if (management.elfTraining.heatedCuttersElfTraining.milestones[0].earned.value) {
|
||||
v = Decimal.pow(0.95, paper.books.heatedCuttersBook.amount.value).times(v);
|
||||
}
|
||||
return Decimal.add(v, 1).pow(2.5).times(10);
|
||||
},
|
||||
display: {
|
||||
|
@ -643,7 +646,12 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
multiplier: oil.extractorCoal,
|
||||
description: "Heavy Extractor",
|
||||
enabled: () => Decimal.gt(oil.activeExtractor.value, 0)
|
||||
}))
|
||||
})),
|
||||
createExponentialModifier(() => ({
|
||||
exponent: 1.05,
|
||||
description: "Jack Level 2",
|
||||
enabled: management.elfTraining.heatedCutterElfTraining.milestones[1].earned
|
||||
})
|
||||
]) as WithRequired<Modifier, "description" | "revert">;
|
||||
const computedCoalGain = computed(() => coalGain.apply(0));
|
||||
|
||||
|
|
|
@ -554,7 +554,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
description:
|
||||
"Jack will automatically purchase heated cutters you can afford, without actually spending any coal.",
|
||||
buyable: coal.heatedCutters,
|
||||
cooldownModifier: heatedCutterCooldown
|
||||
cooldownModifier: heatedCutterCooldown,
|
||||
buyMax: () => management.elfTraining.heatedCutterElfTraining.milestones[2].earned.value
|
||||
});
|
||||
const heatedPlantersElf = createElf({
|
||||
name: "Mary",
|
||||
|
|
Loading…
Add table
Reference in a new issue