summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-09-08 15:46:14 +0200
committerTor Andersson <tor@ccxvii.net>2024-09-08 15:46:14 +0200
commit55927b36e1f17183c6f63b3b106d838e5a0c15de (patch)
tree5cc719ea6df863f712c22229b733b091203c0549
parent522e1dc7f325e7f174980a5dcb114e1fa07fd254 (diff)
downloadred-flag-over-paris-55927b36e1f17183c6f63b3b106d838e5a0c15de.tar.gz
"May" increase/decrease momentum Objective events.HEADmaster
-rw-r--r--events.txt10
-rw-r--r--rules.js8
2 files changed, 8 insertions, 10 deletions
diff --git a/events.txt b/events.txt
index 92a07cc..8d03eb0 100644
--- a/events.txt
+++ b/events.txt
@@ -306,11 +306,10 @@ CARD 45 - Fighting in Issy Village
CARD 46 - Battle of Mont-Valérien
ops 3 FORTS
- # TODO: may...
if (game.active === COMMUNE)
- decrease_prussian_collaboration
+ may_decrease_prussian_collaboration
else
- increase_prussian_collaboration
+ may_increase_prussian_collaboration
endif
CARD 47 - Raid on Château de Vincennes
@@ -347,11 +346,10 @@ CARD 49 - Pius IX
CARD 50 - Socialist International
ops 2 PUBLIC_OPINION
- # TODO: may...
if (game.active === COMMUNE)
- increase_revolutionary_momentum
+ may_increase_revolutionary_momentum
else
- decrease_revolutionary_momentum
+ may_decrease_revolutionary_momentum
endif
CARD 51 - Royalists Dissension
diff --git a/rules.js b/rules.js
index a96cbf3..ca48ad6 100644
--- a/rules.js
+++ b/rules.js
@@ -4426,9 +4426,9 @@ CODE[45] = [ // Fighting in Issy Village
CODE[46] = [ // Battle of Mont-Valérien
[ vm_ops, 3, FORTS ],
[ vm_if, ()=>(game.active === COMMUNE) ],
- [ vm_decrease_prussian_collaboration ],
+ [ vm_may_decrease_prussian_collaboration ],
[ vm_else ],
- [ vm_increase_prussian_collaboration ],
+ [ vm_may_increase_prussian_collaboration ],
[ vm_endif ],
[ vm_return ],
]
@@ -4474,9 +4474,9 @@ CODE[49] = [ // Pius IX
CODE[50] = [ // Socialist International
[ vm_ops, 2, PUBLIC_OPINION ],
[ vm_if, ()=>(game.active === COMMUNE) ],
- [ vm_increase_revolutionary_momentum ],
+ [ vm_may_increase_revolutionary_momentum ],
[ vm_else ],
- [ vm_decrease_revolutionary_momentum ],
+ [ vm_may_decrease_revolutionary_momentum ],
[ vm_endif ],
[ vm_return ],
]