mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-21 16:13:57 +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 &&
|
||||
(Decimal.gte(industrialCrucible.amount.value, 1) ||
|
||||
masteryEffectActive.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
|
||||
? 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
|
||||
),
|
||||
"coal gain"
|
||||
]
|
||||
],
|
||||
"/s",
|
||||
Decimal.mul(
|
||||
computedOrePurity.value,
|
||||
computedAutoSmeltMulti.value
|
||||
)
|
||||
)}`
|
||||
: undefined}
|
||||
</>
|
||||
))}
|
||||
|
|
Loading…
Reference in a new issue