Fix Persia civ battle bonus.

This commit is contained in:
Duan Tao 2019-09-28 11:39:28 +08:00 committed by Yair Morgenstern
parent df2faee2a8
commit ba3103277a
2 changed files with 3 additions and 2 deletions

View file

@ -81,7 +81,8 @@ class BattleDamage{
modifiers["Great General"] = greatGeneralModifier
}
if(combatant.getCivInfo().nation.unique=="Golden Ages last 50% longer. During a Golden Age, units receive +1 Movement and +10% Strength")
if(combatant.getCivInfo().nation.unique=="Golden Ages last 50% longer. During a Golden Age, units receive +1 Movement and +10% Strength"
&& combatant.getCivInfo().goldenAges.isGoldenAge())
modifiers["Golden Age"] = 0.1f
}

View file

@ -77,7 +77,7 @@ class CityExpansionManager {
relinquishOwnership(tile)
cityInfo.getCenterTile().getTilesInDistance(1)
.filter { it.getCity()==null || it.getCity()!!.civInfo==cityInfo.civInfo } // can't take ownership of owned tiles
.filter { it.getCity()==null } // can't take ownership of owned tiles
.forEach { takeOwnership(it) }
}