Implemented Ivy lv1-3

This commit is contained in:
Anthony Lawn 2022-12-12 14:36:55 -06:00
parent c7705f467d
commit 640a74e55c
2 changed files with 8 additions and 2 deletions

View file

@ -539,7 +539,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
description:
"Ivy will automatically purchase planters you can afford, without actually spending any logs.",
buyable: trees.row1Buyables[1],
cooldownModifier: planterCooldown
cooldownModifier: planterCooldown,
buyMax: () => management.elfTraining.planterElfTraining.milestones[1].earned.value
});
const expandersElf = createElf({
name: "Hope",

View file

@ -385,7 +385,12 @@ const layer = createLayer(id, function (this: BaseLayer) {
createMultiplicativeModifier(() => ({
multiplier: 2,
description: "Mary Level 2",
enabled: management.elfTraining.planterElfTraining.milestones[1].earned
enabled: management.elfTraining.heatedPlanterElfTraining.milestones[1].earned
})),
createMultiplicativeModifier(() => ({
multiplier: () => Decimal.pow(trees.value, .2).log10().pow_base(2),
description: "Ivy Level 3",
enabled: management.elfTraining.planterElfTraining.milestones[2].earned
}))
]) as WithRequired<Modifier, "description" | "revert">;
const computedAutoPlantingAmount = computed(() => autoPlantingAmount.apply(0));