fn fair_dice_roll() -> i32 {

4
}
This commit is contained in:
Agatha 2020-04-02 18:08:17 +03:00
父節點 0eaf6d5319
當前提交 acb2c568c4
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

@ -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();