Fix Persia civ battle bonus.
This commit is contained in:
parent
df2faee2a8
commit
ba3103277a
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
}
|
||||
|
|
|
@ -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) }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue