diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-16 03:40:17 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-08 16:36:48 +0100 |
commit | 32225c7165d9bbe1ef2c68aad45e3c6c9fd12dc1 (patch) | |
tree | c495093531b2ea138436cf46808bf029c2a556b6 | |
parent | 511f63e26b2d150396d917bef2cfbfc32593e81c (diff) | |
download | table-battles-32225c7165d9bbe1ef2c68aad45e3c6c9fd12dc1.tar.gz |
x
-rw-r--r-- | rules.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -22,6 +22,7 @@ function find_card(s, n) { // for (let c of data.cards) for (let a of c.actions) console.log(a.type, a.effect) // for (let c of data.cards) console.log(c.dice) +for (let c of data.cards) for (let a of c.actions) { if (a.type === "Counterattack") console.log(c.number, a.type, a.sequence, a.target) } const P1 = "First" const P2 = "Second" |