From 9ce665865efae7ce7ba623c8904d72412530f90a Mon Sep 17 00:00:00 2001
From: Branden J Brown
Date: Fri, 26 Jun 2026 13:13:30 -0400
Subject: [PATCH] zenno/doc/race: fix 4 skill activation chance chart
---
zenno/src/routes/doc/race/+page.svelte | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/zenno/src/routes/doc/race/+page.svelte b/zenno/src/routes/doc/race/+page.svelte
index 4f7442d..253604a 100644
--- a/zenno/src/routes/doc/race/+page.svelte
+++ b/zenno/src/routes/doc/race/+page.svelte
@@ -132,8 +132,7 @@
{ label: '1 of 2 or 2 of 2', y: (x) => (race.skillWitCheck(x, 2, 1) + race.skillWitCheck(x, 2, 2)) * 100 },
{ label: '2 of 2', y: (x) => race.skillWitCheck(x, 2, 2) * 100 },
{ label: '3 of 3', y: (x) => race.skillWitCheck(x, 3, 3) * 100 },
- // TODO(zeph): why is this wrong?
- { label: '3 of 3 or 3 of 4', y: (x) => (race.skillWitCheck(x, 4, 3) + race.skillWitCheck(x, 3, 3)) * 100 },
+ { label: '3 of 4 or 4 of 4', y: (x) => (race.skillWitCheck(x, 4, 3) + race.skillWitCheck(x, 4, 4)) * 100 },
];
const poskeep: ComputedSeries[] = [
{ label: 'Front Runner S', y: (x) => 100 * race.frontModeEnterChance(x * 1.1) },
@@ -359,7 +358,6 @@
Chance that each skill that has a wit check will be eligible to activate. This uses base wit, so style aptitude and passive
wit skills do not affect the chance, although mood does.
- TODO(zeph): Why is the 3 of 4 series getting values over 100%? Is it not just binom(3, 4, p) + binom(4, 4, p)?
{@render statChart(race.Stat.Wit, skillChance, 'Skill Activation Chance (%)', [0, 100])}
Position Keep Mode Chance