feat: click gain scales with passive production (+1% of prod/s)
All checks were successful
CI/CD — Build & Deploy / Build & Deploy (push) Successful in 21s
All checks were successful
CI/CD — Build & Deploy / Build & Deploy (push) Successful in 21s
clickGain = base × prestige × tree × (1 + prod/s × 0.01) At 3.1k/s passive: 10 × 32 = 320 per click instead of 10. Clicking stays relevant as production grows — always ~1% of prod/s worth per click. ClickPanel shows the prod multiplier in breakdown.
This commit is contained in:
@@ -14,17 +14,15 @@
|
||||
</script>
|
||||
|
||||
<CollapsiblePanel title="Ponte (clic)" badge="{formatNumber(expected)}" accentClass="gp-accent-amber" defaultOpen={false}>
|
||||
<!-- Expected value -->
|
||||
<!-- Gain par clic -->
|
||||
<div class="gp-row gp-row--active">
|
||||
<div class="flex flex-col flex-1">
|
||||
<span class="gp-value">Valeur attendue par clic</span>
|
||||
<span class="gp-value">Gain par clic</span>
|
||||
<span class="gp-label">
|
||||
{formatNumber(b.total)} base
|
||||
{#if b.doubleChance > 0} + {(b.doubleChance * 100).toFixed(0)}% double{/if}
|
||||
{#if b.critChance > 0} + {(b.critChance * 100).toFixed(0)}% crit x10{/if}
|
||||
x{b.prestigeMult.toFixed(1)} prestige · x{b.treeMult.toFixed(0)} arbre · x{b.prodBonus.toFixed(1)} prod
|
||||
</span>
|
||||
</div>
|
||||
<span class="gp-value gp-accent-amber text-lg!">{formatNumber(expected)}</span>
|
||||
<span class="gp-value gp-accent-amber text-lg!">{formatNumber(b.total)}</span>
|
||||
</div>
|
||||
|
||||
<!-- Click contribution estimate -->
|
||||
|
||||
Reference in New Issue
Block a user