mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-01-31 07:31:37 +00:00
implement paper upgrades 4 and 6
This commit is contained in:
parent
40f766b04d
commit
4d37bab43a
3 changed files with 7 additions and 2 deletions
|
@ -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));
|
||||
|
|
|
@ -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(() => ({
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}));
|
||||
|
|
Loading…
Add table
Reference in a new issue