From c164c0762bc68a6f4e02aef33275c7aa8f01c9d5 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 af3bbc8..a26db34 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();