mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-06 07:31:26 +07:00
Fixed bug where on quick game speed, educated elite would yield a great person every turn (#4289)
This commit is contained in:
parent
20db11e73f
commit
4add686bcd
@ -753,7 +753,7 @@ class CivilizationInfo {
|
||||
addNotification( "[${givingCityState.civName}] gave us a [${giftedUnit.name}] as a gift!", locations, givingCityState.civName, giftedUnit.name)
|
||||
}
|
||||
|
||||
fun turnsForGreatPersonFromCityState(): Int = (40 + -2 + Random().nextInt(5)) * gameInfo.gameParameters.gameSpeed.modifier.toInt()
|
||||
fun turnsForGreatPersonFromCityState(): Int = ((40 + -2 + Random().nextInt(5)) * gameInfo.gameParameters.gameSpeed.modifier).toInt()
|
||||
// There seems to be some randomness in the amount of turns between receiving each great person,
|
||||
// but I have no idea what the actual lower and upper bound are, so this is just an approximation
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user