eolib 3.0.0

A core rust library for writing applications related to Endless Online
Documentation
1
2
3
4
5
6
7
use rand::RngExt;

/// returns a random swap multiple
pub fn generate_swap_multiple() -> u8 {
    let mut rng = rand::rng();
    rng.random_range(6..=12)
}