hide "lmited by" for metal after mastery

This commit is contained in:
Yhvr 2022-12-21 14:56:49 -05:00
parent ad958913b0
commit 0bbfe4c170

View file

@ -746,12 +746,22 @@ const layer = createLayer(id, function (this: BaseLayer) {
{autoSmeltEnabled.value &&
(Decimal.gte(industrialCrucible.amount.value, 1) ||
masteryEffectActive.value)
? `+${formatLimit(
? masteryEffectActive.value
? formatGain(
Decimal.mul(
computedOrePurity.value,
computedOrePurity.value
).mul(computedAutoSmeltSpeed.value)
)
: `+${formatLimit(
[
[computedAutoSmeltSpeed.value, "smelting speed"],
[computedOreGain.value, "ore gain"],
[
Decimal.div(coal.computedCoalGain.value, coalCost),
Decimal.div(
coal.computedCoalGain.value,
coalCost
),
"coal gain"
]
],