made Star level 3 not activate at level 1

This commit is contained in:
unsoftcapped3 2022-12-14 09:37:16 -08:00 committed by GitHub
parent 551aa299f9
commit 894b37015c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,7 +121,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
if (Decimal.gte(v, 10000)) v = Decimal.pow(v, 2).div(10000);
v = Decimal.pow(0.95, paperBook.totalAmount.value).times(v);
let scaling = 5;
if (management.elfTraining.paperElfTraining.milestones[0].earned.value) {
if (management.elfTraining.paperElfTraining.milestones[2].earned.value) {
scaling--;
}
let cost = Decimal.pow(scaling, v).times(10);
@ -142,7 +142,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
}
let scaling = 5;
if (management.elfTraining.paperElfTraining.milestones[0].earned.value) {
if (management.elfTraining.paperElfTraining.milestones[2].earned.value) {
scaling--;
}