mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-22 10:54:19 -04:00
Autoplay: don't assign citizens according to AI Personality (#13453)
* Update Automation.kt * Update core/src/com/unciv/logic/automation/Automation.kt --------- Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
This commit is contained in:
parent
3515445bf8
commit
aefbeae6bc
@ -170,9 +170,11 @@ object Automation {
|
|||||||
yieldStats.production /= 6
|
yieldStats.production /= 6
|
||||||
}
|
}
|
||||||
|
|
||||||
for (stat in Stat.entries) {
|
if (!city.civ.isHuman()) { // Don't mess things up with a single turn of Autoplay
|
||||||
val scaledFocus = civPersonality.scaledFocus(PersonalityValue[stat])
|
for (stat in Stat.entries) {
|
||||||
if (scaledFocus != 1f) yieldStats[stat] *= scaledFocus
|
val scaledFocus = civPersonality.scaledFocus(PersonalityValue[stat])
|
||||||
|
if (scaledFocus != 1f) yieldStats[stat] *= scaledFocus
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Apply City focus
|
// Apply City focus
|
||||||
|
Loading…
x
Reference in New Issue
Block a user