From 27aee53d15f32affb58c2838ff977e0eff5b222d Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Mon, 12 Sep 2022 19:41:50 -0400
Subject: [PATCH] Give a base influence tweak for difficulty too.

---
 src/endWeek/economics/neighborsDevelopment.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/endWeek/economics/neighborsDevelopment.js b/src/endWeek/economics/neighborsDevelopment.js
index c43f32f124e..5c6dc3ee59c 100644
--- a/src/endWeek/economics/neighborsDevelopment.js
+++ b/src/endWeek/economics/neighborsDevelopment.js
@@ -2552,6 +2552,14 @@ App.EndWeek.neighborsDevelopment = function() {
 						influenceBonus += opinion + 50;
 					}
 
+					if (arc2.direction === 0 && V.baseDifficulty < 3) {
+						// 10 points of bonus influence for player per level below normal
+						influenceBonus += (3 - V.baseDifficulty) * 10;
+					} else if (arc2.rival === 1 && V.baseDifficulty > 3) {
+						// 10 points of bonus influence for rival per level above normal
+						influenceBonus += (V.baseDifficulty - 3) * 10;
+					}
+
 					for (const candidate of validFSes) {
 						if (arc2[candidate] > random(0, 200) - influenceBonus) {
 							// equal weight by default (at normal difficulty, or the arc is neither player nor rival)
-- 
GitLab