diff --git a/zenno/src/routes/race/stam/+page.svelte b/zenno/src/routes/race/stam/+page.svelte index 2559f48..e17ba03 100644 --- a/zenno/src/routes/race/stam/+page.svelte +++ b/zenno/src/routes/race/stam/+page.svelte @@ -130,7 +130,8 @@ } return { mode: (mr * maxHP) / 10000, modePer: mp * 100, mean }; }); - const effStam = $derived(race.effectiveStam(raceLen, style, maxHP + statistics.mode)); + const debuffHP = $derived((maxHP * debuffCounts.reduce((a, s) => a + s.r * s.n, 0)) / 10000); + const effStam = $derived(race.effectiveStam(raceLen, style, maxHP + statistics.mode - debuffHP)); const sections = $derived.by(() => { const r = course.splitSectionSlopes(raceLen, slopesRaw).map((s) => { @@ -448,7 +449,21 @@ --> {#if skills.length != 0 || risky} -
+
{/if} +
+

+ Mode HP from Skills gives the most frequent single result of recoveries and debuffs, along with the probability of that + result. +

+

+ Effective Stamina gives the stamina stat which yields the same HP as the input configuration plus the mode HP from recovery + skills alone, ignoring debuffs. It can be considered the HP that removes wit checks from the equivalent HP pool. +

+

+ As of now, this calculator does not handle recoveries that have no wit check, nor the HP effects of rushed, spot struggle, and + downhill running. +

+