diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -921,7 +921,18 @@ function layout_retro(s, pow) { } function layout_victory_pool(pow, max, x, y) { - let n = 0 + let n = view.vp[pow] + if (pow === P_PRUSSIA) { + if (view.flags & F_SILESIA_ANNEXED) ++n + } + if (pow === P_FRANCE) { + if (view.flags & F_ITALY_FRANCE) ++n + if (view.flags & F_EMPEROR_FRANCE) ++n + } + if (pow === P_AUSTRIA) { + if (view.flags & F_ITALY_AUSTRIA) ++n + if (view.flags & F_EMPEROR_AUSTRIA) ++n + } for (let i = 0; i < view.victory.length; i += 2) if (view.victory[i+1] === pow) ++n |