summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js3
-rw-r--r--rules.ts4
2 files changed, 3 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index cf060b2..b66c003 100644
--- a/rules.js
+++ b/rules.js
@@ -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
diff --git a/rules.ts b/rules.ts
index 7ea5168..27ef448 100644
--- a/rules.ts
+++ b/rules.ts
@@ -9168,7 +9168,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")
@@ -9201,9 +9200,10 @@ function goto_tides_of_war() {
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