From f34c5dc29648a49ef1b128fef33e0748c811c991 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 28 May 2024 14:13:27 +0200 Subject: offensive option failure --- play.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'play.js') diff --git a/play.js b/play.js index 04a75c8..039e1a5 100644 --- a/play.js +++ b/play.js @@ -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 -- cgit v1.2.3