summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-03-25 13:57:52 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-03-25 13:57:52 -0400
commit430fafb58cd045cde81a27327e5b81bc860d7a41 (patch)
tree99e863dc61af4477225effb9da7edc3120a2ed34 /rules.js
parent1153293244bfd6b746274fda07da3b2841a71c28 (diff)
downloadvijayanagara-430fafb58cd045cde81a27327e5b81bc860d7a41.tar.gz
Units count in attack
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 6d7cc59..45ceb40 100644
--- a/rules.js
+++ b/rules.js
@@ -135,6 +135,7 @@ exports.view = function (state, role) {
attacker: game.cmd.attacker,
target: game.cmd.target
}
+ if ("n_units" in game.cmd) view.attack.n_units = game.cmd.n_units
}
if (game.result) {