diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-11 10:47:03 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-11 10:47:03 +0200 |
commit | 8fa6de20a81182952cdf0b149ab2adb8c08267b0 (patch) | |
tree | 5ef16740d76ad65c9344421c48f01cdb1dbfb41c /rules.ts | |
parent | 763dd8f797f1e9948b420a4453e768b47f21fc95 (diff) | |
download | plantagenet-8fa6de20a81182952cdf0b149ab2adb8c08267b0.tar.gz |
clamp influence to correct range in tides of war
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9206,7 +9206,7 @@ function goto_tides_of_war() { log("Total: " + york) log_br() - game.influence = Math.max(0, Math.min(45, game.influence + lanc - york)) + game.influence = Math.max(-45, Math.min(45, game.influence + lanc - york)) if (eligible_charity()) goto_we_done_deeds_of_charity() |