mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-26 02:01:43 +00:00
Fix bookupgrade effect always applying
This commit is contained in:
parent
279e8b22c4
commit
55d7a60171
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
if (management.elfTraining.paperElfTraining.milestones[0].earned.value) {
|
||||
cost = Decimal.div(cost, sumBooks.value.max(1));
|
||||
}
|
||||
if (bookUpgrade.bought){
|
||||
if (bookUpgrade.bought.value) {
|
||||
cost = cost.div(10);
|
||||
}
|
||||
return cost;
|
||||
|
|
Loading…
Reference in a new issue