mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-25 01:41:48 +00:00
hide "lmited by" for metal after mastery
This commit is contained in:
parent
ad958913b0
commit
0bbfe4c170
1 changed files with 24 additions and 14 deletions
|
@ -746,21 +746,31 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
{autoSmeltEnabled.value &&
|
{autoSmeltEnabled.value &&
|
||||||
(Decimal.gte(industrialCrucible.amount.value, 1) ||
|
(Decimal.gte(industrialCrucible.amount.value, 1) ||
|
||||||
masteryEffectActive.value)
|
masteryEffectActive.value)
|
||||||
? `+${formatLimit(
|
? masteryEffectActive.value
|
||||||
[
|
? formatGain(
|
||||||
[computedAutoSmeltSpeed.value, "smelting speed"],
|
Decimal.mul(
|
||||||
[computedOreGain.value, "ore gain"],
|
computedOrePurity.value,
|
||||||
[
|
computedOrePurity.value
|
||||||
Decimal.div(coal.computedCoalGain.value, coalCost),
|
).mul(computedAutoSmeltSpeed.value)
|
||||||
"coal gain"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"/s",
|
|
||||||
Decimal.mul(
|
|
||||||
computedOrePurity.value,
|
|
||||||
computedAutoSmeltMulti.value
|
|
||||||
)
|
)
|
||||||
)}`
|
: `+${formatLimit(
|
||||||
|
[
|
||||||
|
[computedAutoSmeltSpeed.value, "smelting speed"],
|
||||||
|
[computedOreGain.value, "ore gain"],
|
||||||
|
[
|
||||||
|
Decimal.div(
|
||||||
|
coal.computedCoalGain.value,
|
||||||
|
coalCost
|
||||||
|
),
|
||||||
|
"coal gain"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"/s",
|
||||||
|
Decimal.mul(
|
||||||
|
computedOrePurity.value,
|
||||||
|
computedAutoSmeltMulti.value
|
||||||
|
)
|
||||||
|
)}`
|
||||||
: undefined}
|
: undefined}
|
||||||
</>
|
</>
|
||||||
))}
|
))}
|
||||||
|
|
Loading…
Reference in a new issue