diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-25 16:35:35 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-30 21:59:25 +0200 |
commit | c5fe029ae2d4c6f34c204bf66f792d0ae7e89ab8 (patch) | |
tree | a08fa0da6a54700299ae5c1b42fe6d0f79f61632 | |
parent | d71c2c534a48388d834b32f14ba75f9dde262353 (diff) | |
download | friedrich-c5fe029ae2d4c6f34c204bf66f792d0ae7e89ab8.tar.gz |
fix typo
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -148,6 +148,7 @@ const all_power_depots = [ const MUNSTER_Y = data.cities.y[find_city("Munster")] const HALLE = find_city("Halle") +const KUSTRIN = find_city("Küstrin") const all_power_re_entry_cities = [ data.sectors.spades_berlin, @@ -392,7 +393,6 @@ function forbid_play_value_10_or_more() { function must_reach_positive_score() { if (game.fx === NEXT_TURN_IF_FRIEDRICH_IS_INVOLVED_IN_COMBAT_PRUSSIA_MUST_REACH_A_POSITIVE_SCORE) { if (game.power === P_PRUSSIA) { - throw "STOP +VE" return (game.pos[GEN_FRIEDRICH] === game.attacker || game.pos[GEN_FRIEDRICH] === game.defender) } } @@ -2306,7 +2306,7 @@ function fate_card_bonus(c) { if (game.power === P_PRUSSIA && game.pos[GEN_FRIEDRICH] === game.defender) return 0 if (game.fx === NEXT_TURN_PRUSSIA_MAY_PLAY_THE_11_OF_SPADES_ONCE_AT_DOUBLE_VALUE) - if (gaem.power === P_PRUSSIA && to_suit(c) === SPADES && to_value(c) === 11) + if (game.power === P_PRUSSIA && to_suit(c) === SPADES && to_value(c) === 11) return 11 return 0 } |