summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-01-28 12:30:12 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-28 12:30:12 +0100
commit85a1cba9ccdecf8da98b951fed73361a72b87324 (patch)
tree7b3cc1341157a8c0c9a00e902497576bd1423751
parent96d5f4b2813df15e466446db7d670ca22c1fef42 (diff)
downloadtable-battles-85a1cba9ccdecf8da98b951fed73361a72b87324.tar.gz
Update attack numbers after taking wild die.
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 93e8a80..76638e9 100644
--- a/rules.js
+++ b/rules.js
@@ -2986,6 +2986,8 @@ states.attack = {
let w = side_get_wild_die_card(player_index())
if (w === from) {
take_wild_die(w, game.selected)
+ update_attack1()
+ update_attack2()
return
}