From b014e9977e8220b72e39dc99c68d591571ce8d02 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Mon, 31 Jan 2022 13:43:20 +0700 Subject: [PATCH] Fix random weapons --- Bot/PlayerInteractions.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bot/PlayerInteractions.fs b/Bot/PlayerInteractions.fs index b7b00a3..5f5008f 100644 --- a/Bot/PlayerInteractions.fs +++ b/Bot/PlayerInteractions.fs @@ -11,8 +11,8 @@ module Commands = let newPlayer nickname (membr : uint64) = let rand = System.Random(System.Guid.NewGuid().GetHashCode()) - let randHack = rand.Next(0, 3) - let randShield = rand.Next(3, 6) + let randHack = rand.Next(0, 6) + let randShield = rand.Next(6, 12) let hack = armoury |> Array.find (fun i -> i.Id = randHack) let shield = armoury |> Array.find (fun i -> i.Id = randShield)