implement asdaf's fix

This commit is contained in:
unsoftcapped3 2022-12-14 11:12:31 -08:00 committed by GitHub
parent 894b37015c
commit 00cb558561
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,10 +135,10 @@ const layer = createLayer(id, function (this: BaseLayer) {
},
inverseCost(x: DecimalSource) {
if (bookUpgrade.bought.value) {
x = Decimal.div(x, 10);
x = Decimal.mul(x, 10);
}
if (management.elfTraining.paperElfTraining.milestones[0].earned.value) {
x = Decimal.div(x, sumBooks.value.max(1));
x = Decimal.mul(x, sumBooks.value.max(1));
}
let scaling = 5;