mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-24 17:31:54 +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,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"
|
||||
]
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue