mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 07:17:50 +07:00
All "attacked city state" functions should only activate when attacking directly, not when declaring war due to alliances
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user