summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-06 22:08:22 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commitf8fb6c9576035422014cae7e9f8a343bf036ce1f (patch)
treec1e7f6f9490bad4738faada5f6d92f4ce47977c1
parentc42f89ee34b4e21d66eb31d988848b1997f50fdc (diff)
downloadplantagenet-f8fb6c9576035422014cae7e9f8a343bf036ce1f.tar.gz
fix P1_LORD_MASK and P2_LORD_MASK for hidden mat option
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 0c360f1..6c997ed 100644
--- a/rules.js
+++ b/rules.js
@@ -7686,8 +7686,8 @@ function gen_action_routed_militia(lord) {
gen_action("routed_militia", lord)
}
-const P1_LORD_MASK = 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048
-const P2_LORD_MASK = P1_LORD_MASK << 6
+const P1_LORD_MASK = 0x1fff
+const P2_LORD_MASK = P1_LORD_MASK << 14
exports.view = function (state, current) {
load_state(state)