diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-28 14:13:27 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-30 21:59:25 +0200 |
commit | f34c5dc29648a49ef1b128fef33e0748c811c991 (patch) | |
tree | bdbf0a7f5eba4c9164c402508b2f3d2d4690c42d /play.js | |
parent | b4b2b86d439e6bac48ab119b23d683c33988772f (diff) | |
download | friedrich-f34c5dc29648a49ef1b128fef33e0748c811c991.tar.gz |
offensive option failure
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -150,8 +150,12 @@ function count_total_objectives(pow) { let n = objective1[pow].length if (!has_eased_victory(pow)) n += objective2[pow].length - if (pow === P_PRUSSIA && !view.oo) - n = 0 + if (pow === P_PRUSSIA) { + if (view.oo === 0) + n = 0 + if (view.oo < 0 && set_has(view.fate, FC_POEMS) && set_has(view.fate, FC_LORD_BUTE)) + n = 0 + } if (pow === P_AUSTRIA && view.oo) n -= 4 return n |