mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 23:37:31 +07:00
Occupied cities have +2 extra unhappiness (#7628)
This commit is contained in:
parent
69e6093e2e
commit
baeae5c8ae
@ -399,6 +399,8 @@ class CityStats(val cityInfo: CityInfo) {
|
|||||||
unhappinessModifier *= civInfo.gameInfo.getDifficulty().aiUnhappinessModifier
|
unhappinessModifier *= civInfo.gameInfo.getDifficulty().aiUnhappinessModifier
|
||||||
|
|
||||||
var unhappinessFromCity = -3f // -3 happiness per city
|
var unhappinessFromCity = -3f // -3 happiness per city
|
||||||
|
if (hasExtraAnnexUnhappiness())
|
||||||
|
unhappinessFromCity -= 2f
|
||||||
if (civInfo.hasUnique(UniqueType.UnhappinessFromCitiesDoubled))
|
if (civInfo.hasUnique(UniqueType.UnhappinessFromCitiesDoubled))
|
||||||
unhappinessFromCity *= 2f //doubled for the Indian
|
unhappinessFromCity *= 2f //doubled for the Indian
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user