Stamina Calculator

{#each race.StatList as stat (stat)} {@const statName = race.Stat[stat]}
{/each}
Skill Passives
{#each race.StatList as stat (stat)} {@const statName = race.Stat[stat]}
{/each}
{raceLen}m
{#each slopesRaw as slope, i (slope.span[0])} {/each}
Slopes
Slope Start End
{slope.per} {slope.span[0]} {slope.span[1]}
Max HP {Math.floor(maxHP)}
Spurt Threshold {Math.ceil(needHP)}
Late Race Start {#if spurtStartHP != null} {Math.ceil(spurtStartHP[1])} – {Math.ceil(spurtStartHP[0])} {/if}
{#each sections as s (s.startDist)} {/each}
Section Data Section State Fastest Slowest
Section Phase Span Slope Spot Struggle Speed Time HP Remaining Speed Time HP Remaining
{s.section} {phaseNames[s.phase]} {s.startDist.toFixed(1)} m {s.endDist.toFixed(1)} m {s.slope} {s.speed[1].toFixed(3)} m/s {s.time[1].toFixed(3)} s {s.hp[1].toFixed(1)} {s.remain[0].toFixed(1)} {s.speed[0].toFixed(3)} m/s {s.time[0].toFixed(3)} s {s.hp[0].toFixed(1)} {s.remain[1].toFixed(1)}