mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-26 05:14:32 -04:00
All "attacked city state" functions should only activate when attacking directly, not when declaring war due to alliances
This commit is contained in:
parent
6c463797d8
commit
467b0b2570
@ -690,9 +690,8 @@ class DiplomacyManager() {
|
||||
|
||||
otherCivDiplomacy.setModifier(DiplomaticModifiers.DeclaredWarOnUs, -20f)
|
||||
otherCivDiplomacy.removeModifier(DiplomaticModifiers.ReturnedCapturedUnits)
|
||||
if (otherCiv.isCityState()) {
|
||||
if (!indirectCityStateAttack)
|
||||
otherCivDiplomacy.setInfluence(-60f)
|
||||
if (otherCiv.isCityState() && !indirectCityStateAttack) {
|
||||
otherCivDiplomacy.setInfluence(-60f)
|
||||
civInfo.changeMinorCivsAttacked(1)
|
||||
otherCiv.cityStateFunctions.cityStateAttacked(civInfo)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user