mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-03-22 14:11:41 +00:00
implement paper upgard 5
This commit is contained in:
parent
4d37bab43a
commit
43a24bb427
1 changed files with 3 additions and 0 deletions
|
@ -126,6 +126,9 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
if (management.elfTraining.paperElfTraining.milestones[0].earned.value) {
|
if (management.elfTraining.paperElfTraining.milestones[0].earned.value) {
|
||||||
cost = Decimal.div(cost, sumBooks.value.max(1));
|
cost = Decimal.div(cost, sumBooks.value.max(1));
|
||||||
}
|
}
|
||||||
|
if (bookUpgrade.bought){
|
||||||
|
cost = cost.div(10);
|
||||||
|
}
|
||||||
return cost;
|
return cost;
|
||||||
},
|
},
|
||||||
style: "width: 600px",
|
style: "width: 600px",
|
||||||
|
|
Loading…
Add table
Reference in a new issue