zenno: section speed does not use base wit
Per analysis by Aya, only final wit is used for section speed. Fixes #40.
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
const damCarry = $derived(allowDAM && slope < 0 ? race.downhillAccelMod(slope) : 0);
|
||||
const carry = $derived(skillCarry + damCarry);
|
||||
const midSpeed = $derived.by(() => {
|
||||
const s = race.sectionSpeed(raceLen, baseWit, wit, style, race.Phase.MidRace) satisfies [number, number];
|
||||
const s = race.sectionSpeed(raceLen, wit, style, race.Phase.MidRace) satisfies [number, number];
|
||||
const u = slope > 0 ? race.uphillMod(power, slope) : 0;
|
||||
return [s[0] + u, s[1] + u] as const;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user