pub fn accumulated_proc_chance( rng: &mut dyn FnMut() -> f64, base_chance: f64, failures: &mut u32, cap: u32, ) -> bool
Rolls linearly accumulated RNG and resets the failure count after success.