diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-01-18 00:31:09 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:12:55 +0100 |
commit | 387aaf2300856d45317573a2e4612f22d63ffae3 (patch) | |
tree | e2f731a7729cada748d86e3102810d99eb0c2565 | |
parent | 0cc48e6f18fc4b069c34b62d73f1d9bbb687f5f9 (diff) | |
download | richard-iii-387aaf2300856d45317573a2e4612f22d63ffae3.tar.gz |
Fix plague if it's the lower valued of two events...
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1536,7 +1536,7 @@ states.plague_event = { for (let b in BLOCKS) if (game.location[b] === where) game.plague.push(b); - game.active = game.p2; + game.active = ENEMY[game.active]; game.state = 'apply_plague'; }, pass: function () { @@ -1557,7 +1557,7 @@ states.apply_plague = { remove_from_array(game.plague, b); if (game.plague.length === 0) { delete game.plague; - game.active = game.p1; + game.active = ENEMY[game.active]; end_player_turn(); } }, |