fn fair_dice_roll() -> i32 {

4
}
This commit is contained in:
Agatha 2020-04-02 18:08:17 +03:00
parent 0eaf6d5319
commit acb2c568c4
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ fn ship(ctx: &mut Context, message: &Message, args: Args) -> CommandResult {
// Get input names // Get input names
let names: String = args.rest().trim().to_string(); let names: String = args.rest().trim().to_string();
// Calculate compatibility based on hash // Calculate compatibility based on hash
let compat: u64 = StdRng::seed_from_u64(calculate_hash(&names)).gen_range(0, 100); let compat: u64 = StdRng::seed_from_u64(calculate_hash(&names)).gen_range(50, 100);
// Initialize a bar to display compatibility percentage // Initialize a bar to display compatibility percentage
let mut compbar = String::new(); let mut compbar = String::new();