mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-06 16:28:40 +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,8 +690,7 @@ class DiplomacyManager() {
|
||||
|
||||
otherCivDiplomacy.setModifier(DiplomaticModifiers.DeclaredWarOnUs, -20f)
|
||||
otherCivDiplomacy.removeModifier(DiplomaticModifiers.ReturnedCapturedUnits)
|
||||
if (otherCiv.isCityState()) {
|
||||
if (!indirectCityStateAttack)
|
||||
if (otherCiv.isCityState() && !indirectCityStateAttack) {
|
||||
otherCivDiplomacy.setInfluence(-60f)
|
||||
civInfo.changeMinorCivsAttacked(1)
|
||||
otherCiv.cityStateFunctions.cityStateAttacked(civInfo)
|
||||
|
Reference in New Issue
Block a user