diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-09 22:31:11 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-09 22:31:11 +0200 |
commit | d21be0f5a699cbe0f754b753178d49d43c4b03c6 (patch) | |
tree | 4f9650494d57bc69b790872cf08ebeeb712767d1 /rules.js | |
parent | 422c7760adfee46d3a6c3be9dba7347a5ab0e12e (diff) | |
download | plantagenet-d21be0f5a699cbe0f754b753178d49d43c4b03c6.tar.gz |
Tides of War apply net total before clamping.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -7821,7 +7821,6 @@ function goto_tides_of_war() { } if (set_has(INFLUENCE_TURNS, current_turn())) lanc += tow_influence(all_lancaster_lords); - increase_lancaster_influence(lanc); log("Total: " + lanc); log_h3("York"); york += tow_presence("Lord in North", all_york_lords, is_lord_in_north); @@ -7846,8 +7845,8 @@ function goto_tides_of_war() { york += tow(1, "C" + AOW_YORK_FIRST_SON); if (set_has(INFLUENCE_TURNS, current_turn())) york += tow_influence(all_york_lords); - increase_york_influence(york); log("Total: " + york); + game.influence = Math.max(0, Math.min(45, game.influence + lanc - york)); if (eligible_charity()) goto_we_done_deeds_of_charity(); else |