mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-22 22:54:44 +07:00
Update Automation.kt
This commit is contained in:
parent
56b86afb73
commit
4a91ef4df7
@ -157,8 +157,8 @@ object Automation {
|
||||
if (city.civ.wantsToFocusOn(stat))
|
||||
yieldStats[stat] *= 2f
|
||||
|
||||
val scaledFocus = civPersonality.scaledFocus(PersonalityValue[stat])
|
||||
if (scaledFocus != 1f) yieldStats[stat] *= scaledFocus
|
||||
val modifierFocus = civPersonality.modifierFocus(PersonalityValue[stat])
|
||||
if (modifierFocus != 1f) yieldStats[stat] *= modifierFocus
|
||||
}
|
||||
|
||||
// Apply City focus
|
||||
|
Loading…
Reference in New Issue
Block a user