From f8fb6c9576035422014cae7e9f8a343bf036ce1f Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 6 Oct 2023 22:08:22 +0200 Subject: fix P1_LORD_MASK and P2_LORD_MASK for hidden mat option --- rules.js | 4 ++-- 1 file 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) -- cgit v1.2.3