Reduce arsenal to 3 and 3
This commit is contained in:
parent
79442352fa
commit
69545bf3a6
@ -10,19 +10,13 @@ let shieldGif = "https://s10.gifyu.com/images/Defense-Degenz-V2.gif"
|
|||||||
|
|
||||||
let getHackGif = function
|
let getHackGif = function
|
||||||
| HackId.Virus -> "https://s10.gifyu.com/images/Attack-DegenZ.gif"
|
| HackId.Virus -> "https://s10.gifyu.com/images/Attack-DegenZ.gif"
|
||||||
| HackId.Ransom -> "https://s10.gifyu.com/images/Mind-Control-Degenz-V2.gif"
|
| HackId.RemoteAccess -> "https://s10.gifyu.com/images/Mind-Control-Degenz-V2.gif"
|
||||||
| HackId.Worm -> "https://s10.gifyu.com/images/WormBugAttack_Degenz.gif"
|
| HackId.Worm -> "https://s10.gifyu.com/images/WormBugAttack_Degenz.gif"
|
||||||
| HackId.DDos -> "https://s10.gifyu.com/images/Attack-DegenZ.gif"
|
|
||||||
| HackId.Crack -> "https://s10.gifyu.com/images/Attack-DegenZ.gif"
|
|
||||||
| HackId.Injection -> "https://s10.gifyu.com/images/Attack-DegenZ.gif"
|
|
||||||
| _ -> hackGif
|
| _ -> hackGif
|
||||||
|
|
||||||
let getShieldGif = function
|
let getShieldGif = function
|
||||||
| ShieldId.Firewall -> "https://s10.gifyu.com/images/Defense-GIF-1-Degenz.gif"
|
| ShieldId.Firewall -> "https://s10.gifyu.com/images/Defense-GIF-1-Degenz.gif"
|
||||||
| ShieldId.PortScan -> "https://s10.gifyu.com/images/PortScanDefense_Degenz.gif"
|
| ShieldId.Encryption -> "https://s10.gifyu.com/images/Encryption-Degenz-V2.gif"
|
||||||
| ShieldId.Encryption -> "https://s10.gifyu.com/images/Anonymous-Degenz-V2.gif"
|
|
||||||
| ShieldId.Hardening -> "https://s10.gifyu.com/images/Encryption-Degenz-V2.gif"
|
|
||||||
| ShieldId.Sanitation -> "https://s10.gifyu.com/images/VPN-Degenz.gif"
|
|
||||||
| ShieldId.Cypher -> "https://s10.gifyu.com/images/Matrix_Degenz.gif"
|
| ShieldId.Cypher -> "https://s10.gifyu.com/images/Matrix_Degenz.gif"
|
||||||
| _ -> shieldGif
|
| _ -> shieldGif
|
||||||
|
|
||||||
|
@ -14,12 +14,12 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": 1,
|
"Id": 1,
|
||||||
"Name": "Ransom",
|
"Name": "RemoteAccess",
|
||||||
"Type": {
|
"Type": {
|
||||||
"Case": "Hack"
|
"Case": "Hack"
|
||||||
},
|
},
|
||||||
"Class": {
|
"Class": {
|
||||||
"Case": "Network"
|
"Case": "Penetration"
|
||||||
},
|
},
|
||||||
"Cost": 100,
|
"Cost": 100,
|
||||||
"Power": 50,
|
"Power": 50,
|
||||||
@ -38,45 +38,6 @@
|
|||||||
"Power": 50,
|
"Power": 50,
|
||||||
"Cooldown": 260
|
"Cooldown": 260
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Id": 3,
|
|
||||||
"Name": "DDos",
|
|
||||||
"Type": {
|
|
||||||
"Case": "Hack"
|
|
||||||
},
|
|
||||||
"Class": {
|
|
||||||
"Case": "Exploit"
|
|
||||||
},
|
|
||||||
"Cost": 100,
|
|
||||||
"Power": 50,
|
|
||||||
"Cooldown": 260
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Id": 4,
|
|
||||||
"Name": "Crack",
|
|
||||||
"Type": {
|
|
||||||
"Case": "Hack"
|
|
||||||
},
|
|
||||||
"Class": {
|
|
||||||
"Case": "Penetration"
|
|
||||||
},
|
|
||||||
"Cost": 100,
|
|
||||||
"Power": 50,
|
|
||||||
"Cooldown": 260
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Id": 5,
|
|
||||||
"Name": "Injection",
|
|
||||||
"Type": {
|
|
||||||
"Case": "Hack"
|
|
||||||
},
|
|
||||||
"Class": {
|
|
||||||
"Case": "Penetration"
|
|
||||||
},
|
|
||||||
"Cost": 100,
|
|
||||||
"Power": 50,
|
|
||||||
"Cooldown": 260
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Id": 6,
|
"Id": 6,
|
||||||
"Name": "Firewall",
|
"Name": "Firewall",
|
||||||
@ -92,19 +53,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": 7,
|
"Id": 7,
|
||||||
"Name": "PortScan",
|
|
||||||
"Type": {
|
|
||||||
"Case": "Shield"
|
|
||||||
},
|
|
||||||
"Class": {
|
|
||||||
"Case": "Network"
|
|
||||||
},
|
|
||||||
"Cost": 100,
|
|
||||||
"Power": 50,
|
|
||||||
"Cooldown": 260
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Id": 8,
|
|
||||||
"Name": "Encryption",
|
"Name": "Encryption",
|
||||||
"Type": {
|
"Type": {
|
||||||
"Case": "Shield"
|
"Case": "Shield"
|
||||||
@ -117,39 +65,13 @@
|
|||||||
"Cooldown": 260
|
"Cooldown": 260
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": 9,
|
"Id": 8,
|
||||||
"Name": "Hardening",
|
|
||||||
"Type": {
|
|
||||||
"Case": "Shield"
|
|
||||||
},
|
|
||||||
"Class": {
|
|
||||||
"Case": "Penetration"
|
|
||||||
},
|
|
||||||
"Cost": 100,
|
|
||||||
"Power": 50,
|
|
||||||
"Cooldown": 260
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Id": 10,
|
|
||||||
"Name": "Sanitation",
|
|
||||||
"Type": {
|
|
||||||
"Case": "Shield"
|
|
||||||
},
|
|
||||||
"Class": {
|
|
||||||
"Case": "Penetration"
|
|
||||||
},
|
|
||||||
"Cost": 100,
|
|
||||||
"Power": 50,
|
|
||||||
"Cooldown": 260
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Id": 11,
|
|
||||||
"Name": "Cypher",
|
"Name": "Cypher",
|
||||||
"Type": {
|
"Type": {
|
||||||
"Case": "Shield"
|
"Case": "Shield"
|
||||||
},
|
},
|
||||||
"Class": {
|
"Class": {
|
||||||
"Case": "Exploit"
|
"Case": "Penetration"
|
||||||
},
|
},
|
||||||
"Cost": 100,
|
"Cost": 100,
|
||||||
"Power": 50,
|
"Power": 50,
|
||||||
|
@ -9,10 +9,9 @@ open Degenz.Shared
|
|||||||
|
|
||||||
module Commands =
|
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, 6)
|
let randHack = rand.Next(0, 3)
|
||||||
let randShield = rand.Next(6, 12)
|
let randShield = rand.Next(6, 9)
|
||||||
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)
|
||||||
|
|
||||||
|
@ -20,19 +20,13 @@ type BattleClass =
|
|||||||
|
|
||||||
type HackId =
|
type HackId =
|
||||||
| Virus = 0
|
| Virus = 0
|
||||||
| Ransom = 1
|
| RemoteAccess = 1
|
||||||
| Worm = 2
|
| Worm = 2
|
||||||
| DDos = 3
|
|
||||||
| Crack = 4
|
|
||||||
| Injection = 5
|
|
||||||
|
|
||||||
type ShieldId =
|
type ShieldId =
|
||||||
| Firewall = 6
|
| Firewall = 6
|
||||||
| PortScan = 7
|
| Encryption = 7
|
||||||
| Encryption = 8
|
| Cypher = 8
|
||||||
| Hardening = 9
|
|
||||||
| Sanitation = 10
|
|
||||||
| Cypher = 11
|
|
||||||
|
|
||||||
type ItemType =
|
type ItemType =
|
||||||
| Hack
|
| Hack
|
||||||
|
Loading…
x
Reference in New Issue
Block a user