Calculate DPS for upgrade recommendations

This commit is contained in:
Jan Bader
2026-06-16 15:06:03 +02:00
parent d4f3d6609b
commit 690faf6c57
3 changed files with 118 additions and 10 deletions
+9 -1
View File
@@ -32,6 +32,14 @@
Strategy profile
<select id="profileSelect"></select>
</label>
<label>
Combat style for DPS
<select id="combatStyle">
<option value="melee">Melee</option>
<option value="ranged">Ranged</option>
<option value="skill">Skill</option>
</select>
</label>
<label>
Recommendation count
<input id="recommendationCount" type="number" min="3" max="20" step="1" value="8" />
@@ -42,7 +50,7 @@
<section class="summary-grid" aria-label="Build summary">
<article class="metric"><span>Total damage base</span><strong id="totalDamage">0</strong></article>
<article class="metric"><span>Total health base</span><strong id="totalHealth">0</strong></article>
<article class="metric"><span>Offense score</span><strong id="offenseScore">0</strong></article>
<article class="metric"><span>Calculated DPS</span><strong id="dpsValue">0</strong></article>
<article class="metric"><span>Defense score</span><strong id="defenseScore">0</strong></article>
</section>