why is heatedCuttersElfTraining causing so many errors

This commit is contained in:
unsoftcapped3 2022-12-12 15:44:13 -08:00 committed by GitHub
parent d046f338d1
commit dade814450
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -431,7 +431,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
if (Decimal.gte(v, 200)) v = Decimal.pow(v, 2).div(200);
if (Decimal.gte(v, 2e6)) v = Decimal.pow(v, 2).div(2e6);
v = Decimal.pow(0.95, paper.books.heatedCuttersBook.amount.value).times(v);
if (management.elfTraining.heatedCuttersElfTraining.milestones[0].earned.value) {
if (management.elfTraining.heatedCutterElfTraining.milestones[0].earned.value) {
v = Decimal.pow(0.95, paper.books.heatedCuttersBook.amount.value).times(v);
}
return Decimal.add(v, 1).pow(2.5).times(10);