mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-10 07:48:31 +07:00
Fix infinite city-state tribute bug (#7653)
This commit is contained in:

committed by
GitHub

parent
9326f47cdf
commit
9967642573
@ -352,7 +352,7 @@ class CityStateFunctions(val civInfo: CivilizationInfo) {
|
|||||||
val recentBullying = civInfo.getRecentBullyingCountdown()
|
val recentBullying = civInfo.getRecentBullyingCountdown()
|
||||||
if (recentBullying != null && recentBullying > 10)
|
if (recentBullying != null && recentBullying > 10)
|
||||||
modifiers["Very recently paid tribute"] = -300
|
modifiers["Very recently paid tribute"] = -300
|
||||||
else if (recentBullying != null)
|
else if (recentBullying != null && recentBullying > 0)
|
||||||
modifiers["Recently paid tribute"] = -40
|
modifiers["Recently paid tribute"] = -40
|
||||||
if (civInfo.getDiplomacyManager(demandingCiv).getInfluence() < -30)
|
if (civInfo.getDiplomacyManager(demandingCiv).getInfluence() < -30)
|
||||||
modifiers["Influence below -30"] = -300
|
modifiers["Influence below -30"] = -300
|
||||||
|
Reference in New Issue
Block a user