possibly fix NaN

This commit is contained in:
unsoftcapped3 2022-12-24 18:22:00 -08:00 committed by GitHub
parent 7b115697a0
commit 7c0e25f139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -186,7 +186,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
enabled: () => packingResets.value >= 1
})),
createMultiplicativeModifier(() => ({
multiplier: () => Decimal.sqrt(elfPackingSpeed.apply(1)),
multiplier: () => Decimal.sqrt(computedElfPackingSpeed.value).max(1),
description: "Jingle Level 5",
enabled: management.elfTraining.packingElfTraining.milestones[4].earned
}))