summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-04-01 19:16:50 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-04-01 19:16:50 -0400
commit03ebc48b354f2509c2a37dd5ed6a9ed10db6e2e8 (patch)
tree1daab28161f0115fe58d74f6e8b04856d3c48998 /rules.js
parent938716cb1ff0353c027b7ff5ec9165c2742e919d (diff)
downloadvijayanagara-03ebc48b354f2509c2a37dd5ed6a9ed10db6e2e8.tar.gz
RFoP style influence
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 44b3403..b51d206 100644
--- a/rules.js
+++ b/rules.js
@@ -3223,7 +3223,7 @@ function add_influence(faction) {
return
game.inf[faction]++
- log(faction_flags[faction] + " gained Influence.")
+ log(`Increased ${INF_TOKEN[faction]} to ${game.inf[faction]}.`)
update_vp()
if (faction === BK && game.inf[faction] === 2)
@@ -3239,7 +3239,7 @@ function remove_influence(faction) {
end_influence()
} else {
game.inf[faction]--
- log(faction_flags[faction] + " lost Influence.")
+ log(`Decreased ${INF_TOKEN[faction]} to ${game.inf[faction]}.`)
update_vp()
if (faction === BK && game.inf[faction] === 3)
@@ -5718,6 +5718,7 @@ const PIECE_FACTION_TYPE_SYMBOL = [
[ null, null, "CMI" ]
]
const LAST_CAVALRY = 9
+const INF_TOKEN = [null, "IBK", "IVE"]
// Sequence of Play options
const ELIGIBLE = 0