mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-30 07:21:34 -04:00
Fix Persia civ battle bonus.
This commit is contained in:
parent
df2faee2a8
commit
ba3103277a
@ -81,7 +81,8 @@ class BattleDamage{
|
|||||||
modifiers["Great General"] = greatGeneralModifier
|
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
|
modifiers["Golden Age"] = 0.1f
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,7 @@ class CityExpansionManager {
|
|||||||
relinquishOwnership(tile)
|
relinquishOwnership(tile)
|
||||||
|
|
||||||
cityInfo.getCenterTile().getTilesInDistance(1)
|
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) }
|
.forEach { takeOwnership(it) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user