atagen

jelq

public

an http based roguelike rpg about jelqing

Star0
Watch0

Commit 2ea5ef81f040

tarball

atagen <boss@atagen.co>2026-10-10 15:15 UTC

1 file changed+8-0
jelqd: add a base rupture chance that climbs with EQ

Careful play could not lose and sloppy play won 62% of attempts. Simulated with JELQD_REFRACTORY_SECS=0, these odds give careful play 20 wins in 21 and sloppy play 18 in 51.
Modified file: src/game/jelq.rs+8 additions
@@ -316,6 +316,14 @@ impl Run {
316316 }
317317
318318 fn hazards(&mut self, intensity: i32) -> Result<(), Problem> {
319+ let odds = match self.eq {
320+ ..=70 => 200,
321+ 71..=85 => 25,
322+ _ => 10,
323+ };
324+ if self.rng.random_ratio(1, odds) {
325+ return Err(self.rupture());
326+ }
319327 if self.floor == Floor::LockerRoom && self.rng.random_ratio(1, 10) {
320328 self.shame += 1;
321329 return Err(Problem::new(