ExtinctionOnline/static/js/cards.js

114 lines
1.9 KiB
JavaScript

"use strict";
const cardTypes = {
unknown: {
id: "unknown",
prefix: "!",
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",
count: 4,
onGet: "target.cards.forEach(it => {discard(target,it);});"
},
annihilation: {
id: "annihilation",
prefix: "I",
count: 1
},
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
}
}