Fix random weapons
This commit is contained in:
parent
7b48ff0a9b
commit
b014e9977e
@ -11,8 +11,8 @@ module Commands =
|
|||||||
let newPlayer nickname (membr : uint64) =
|
let newPlayer nickname (membr : uint64) =
|
||||||
|
|
||||||
let rand = System.Random(System.Guid.NewGuid().GetHashCode())
|
let rand = System.Random(System.Guid.NewGuid().GetHashCode())
|
||||||
let randHack = rand.Next(0, 3)
|
let randHack = rand.Next(0, 6)
|
||||||
let randShield = rand.Next(3, 6)
|
let randShield = rand.Next(6, 12)
|
||||||
let hack = armoury |> Array.find (fun i -> i.Id = randHack)
|
let hack = armoury |> Array.find (fun i -> i.Id = randHack)
|
||||||
let shield = armoury |> Array.find (fun i -> i.Id = randShield)
|
let shield = armoury |> Array.find (fun i -> i.Id = randShield)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user