2022-11-13 21:30:01 +09:00
|
|
|
"use strict";
|
2022-11-04 22:05:08 +09:00
|
|
|
const cardTypes = {
|
|
|
|
unknown: {
|
|
|
|
id: "unknown",
|
2022-11-13 21:30:01 +09:00
|
|
|
prefix: "!",
|
2022-11-04 22:05:08 +09:00
|
|
|
count: -1
|
|
|
|
},
|
|
|
|
one: {
|
|
|
|
id: "one",
|
|
|
|
prefix: "A",
|
|
|
|
count: 7
|
|
|
|
},
|
|
|
|
two: {
|
|
|
|
id: "two",
|
|
|
|
prefix: "B",
|
|
|
|
count: 6
|
|
|
|
},
|
|
|
|
three: {
|
|
|
|
id: "three",
|
|
|
|
prefix: "C",
|
|
|
|
count: 5
|
|
|
|
},
|
|
|
|
four: {
|
|
|
|
id: "four",
|
|
|
|
prefix: "D",
|
|
|
|
count: 4
|
|
|
|
},
|
|
|
|
five: {
|
|
|
|
id: "five",
|
|
|
|
prefix: "E",
|
|
|
|
count: 3
|
|
|
|
},
|
|
|
|
six: {
|
|
|
|
id: "six",
|
|
|
|
prefix: "F",
|
|
|
|
count: 2
|
|
|
|
},
|
|
|
|
seven: {
|
|
|
|
id: "seven",
|
|
|
|
prefix: "G",
|
|
|
|
count: 1
|
|
|
|
},
|
|
|
|
rob: {
|
|
|
|
id: "rob",
|
|
|
|
prefix: "J",
|
|
|
|
count: 4
|
|
|
|
},
|
|
|
|
robKill: {
|
|
|
|
id: "robKill",
|
|
|
|
prefix: "K",
|
|
|
|
count: 1
|
|
|
|
},
|
|
|
|
recycle: {
|
|
|
|
id: "recycle",
|
|
|
|
prefix: "L",
|
|
|
|
count: 4
|
|
|
|
},
|
|
|
|
reincarnation: {
|
|
|
|
id: "reincarnation",
|
|
|
|
prefix: "M",
|
|
|
|
count: 1
|
|
|
|
},
|
|
|
|
seeThrough: {
|
|
|
|
id: "seeThrough",
|
|
|
|
prefix: "P",
|
|
|
|
count: 4
|
|
|
|
},
|
|
|
|
clairvoyant: {
|
|
|
|
id: "clairvoyant",
|
|
|
|
prefix: "Q",
|
|
|
|
count: 1
|
|
|
|
},
|
|
|
|
bacteria: {
|
|
|
|
id: "bacteria",
|
|
|
|
prefix: "U",
|
|
|
|
count: 3
|
|
|
|
},
|
|
|
|
extinction: {
|
|
|
|
id: "extinction",
|
|
|
|
prefix: "H",
|
2023-04-23 12:40:54 +09:00
|
|
|
count: 4,
|
|
|
|
onGet: "target.cards.forEach(it => {discard(target,it);});"
|
2022-11-04 22:05:08 +09:00
|
|
|
},
|
|
|
|
annihilation: {
|
|
|
|
id: "annihilation",
|
|
|
|
prefix: "I",
|
2023-06-10 00:06:54 +09:00
|
|
|
count: 1,
|
|
|
|
onGet: "players.forEach(player => {if(player.cards.length <= 5)player.cards.forEach(card => {discard(player,card);})});"
|
2022-11-04 22:05:08 +09:00
|
|
|
},
|
|
|
|
drop: {
|
|
|
|
id: "drop",
|
|
|
|
prefix: "N",
|
|
|
|
count: 3
|
|
|
|
},
|
|
|
|
dumping: {
|
|
|
|
id: "dumping",
|
|
|
|
prefix: "O",
|
|
|
|
count: 1
|
|
|
|
},
|
|
|
|
trade: {
|
|
|
|
id: "trade",
|
|
|
|
prefix: "R",
|
|
|
|
count: 2
|
|
|
|
},
|
|
|
|
shieldRoom: {
|
|
|
|
id: "shieldRoom",
|
|
|
|
prefix: "S",
|
|
|
|
count: 1
|
|
|
|
},
|
|
|
|
lose: {
|
|
|
|
id: "lose",
|
|
|
|
prefix: "T",
|
|
|
|
count: 1
|
|
|
|
}
|
|
|
|
}
|