pub fn proc_chance(rng: &mut dyn FnMut() -> f64, chance: f64) -> bool
Rolls a proc with the given fractional probability.