From acb2c568c4b62f563b2840cfc8e2ef9e7d44b66e Mon Sep 17 00:00:00 2001 From: Agatha Date: Thu, 2 Apr 2020 18:08:17 +0300 Subject: [PATCH] fn fair_dice_roll() -> i32 { 4 } --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ed9a934..e24b237 100755 --- a/src/main.rs +++ b/src/main.rs @@ -302,7 +302,7 @@ fn ship(ctx: &mut Context, message: &Message, args: Args) -> CommandResult { // Get input names let names: String = args.rest().trim().to_string(); // 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 let mut compbar = String::new();