Add optimization target toggle

This commit is contained in:
Jan Bader
2026-06-22 01:25:21 +02:00
parent 630d6d6fd6
commit 4b1b3a7379
3 changed files with 62 additions and 12 deletions
+12 -3
View File
@@ -91,12 +91,21 @@
<section class="card optimum-card" aria-labelledby="optimum-heading">
<div class="gear-title-row">
<h2 id="optimum-heading">Maximum damage setup</h2>
<h2 id="optimum-heading">Optimized effect setup</h2>
<span id="optimumEffectCount" class="piece-score"></span>
</div>
<p class="muted-copy">Best max-roll damage effect mix using the same number of filled effect slots as your current build.</p>
<div class="optimum-header-controls">
<p class="muted-copy">Best max-roll effect mix using the same number of filled effect slots as your current build.</p>
<label>
Optimize for
<select id="optimizationTarget">
<option value="damage">Raw damage</option>
<option value="lifestealRegen">Lifesteal regen</option>
</select>
</label>
</div>
<div class="optimum-results">
<div><span>Optimal DPS</span><strong id="optimumDps">0</strong></div>
<div><span id="optimumMetricLabel">Optimal DPS</span><strong id="optimumDps">0</strong></div>
<div><span>Difference vs current</span><strong id="optimumDpsDelta">0</strong></div>
</div>
<div class="effect-comparison-wrap">