implement paper upgrades 4 and 6

This commit is contained in:
unsoftcapped3 2022-12-14 04:18:38 +00:00
parent 40f766b04d
commit 4d37bab43a
3 changed files with 7 additions and 2 deletions

View file

@ -802,6 +802,11 @@ const layer = createLayer(id, function (this: BaseLayer) {
exponent: 1.1,
description: "Snowball Level 2",
enabled: management.elfTraining.kilnElfTraining.milestones[1].earned
})),
createAdditiveModifier(() => ({
addend(){return paper.paper.value},
description: "Paper Burning",
enabled: paper.ashUpgrade.bought
}))
]);
const computedAshGain = computed(() => ashGain.apply(0));

View file

@ -1377,7 +1377,7 @@ const layer = createLayer(id, () => {
});
const classroomEffect = computed(() => {
return Decimal.add(classrooms.amount.value, 1).pow(0.9);
return Decimal.add(classrooms.amount.value, 1).pow(0.9).pow(paper.classroomUpgrade.bought.value ? 1.1 : 1);
});
const classrooms = createBuyable(() => ({

View file

@ -299,7 +299,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
cost: 1e36,
visibility: () => showIf(management.elfTraining.heavyDrillElfTraining.milestones[4].earned.value),
display: {
title: "Paper burning",
title: "Paper Burning",
description: "Paper adds to ash gain after all other modifiers"
}
}));