From 55927b36e1f17183c6f63b3b106d838e5a0c15de Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 8 Sep 2024 15:46:14 +0200 Subject: "May" increase/decrease momentum Objective events. --- events.txt | 10 ++++------ rules.js | 8 ++++---- 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 ], ] -- cgit v1.2.3