mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-03-14 01:51:40 +00:00
fix base cost of plastic box buyable
This commit is contained in:
parent
a36b690c00
commit
3efa0e4374
1 changed files with 2 additions and 2 deletions
|
@ -516,7 +516,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
if (management.elfTraining.boxElfTraining.milestones[2].earned.value) {
|
||||
scaling--;
|
||||
}
|
||||
return Decimal.pow(scaling, v).times(1000).div(dyes.boosts.orange2.value);
|
||||
return Decimal.pow(scaling, v).times(1e31).div(dyes.boosts.orange2.value);
|
||||
},
|
||||
inverseCost(x: DecimalSource) {
|
||||
let scaling = 20;
|
||||
|
@ -525,7 +525,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
}
|
||||
|
||||
let v = Decimal.mul(x, dyes.boosts.orange2.value)
|
||||
.div(1000).log(scaling);
|
||||
.div(1e31).log(scaling);
|
||||
|
||||
v = v.div(Decimal.pow(0.95, paper.books.boxBook.totalAmount.value));
|
||||
return Decimal.isNaN(v) ? Decimal.dZero : v.floor().max(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue