mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-21 18:36:17 -04:00
Update Automation.kt
This commit is contained in:
parent
01a4025287
commit
e5be79b0e8
@ -84,7 +84,7 @@ object Automation {
|
||||
for (unique in localUniqueCache.forCityGetMatchingUniques(city, UniqueType.UnhappinessFromPopulationTypePercentageChange))
|
||||
if (unique.params[1] == "Specialists" && city.matchesFilter(unique.params[2]))
|
||||
yieldStats.happiness -= (unique.params[0].toFloat() / 100f) // relative val is negative, make positive
|
||||
if (yieldStats.science == 3f || yieldStats.science >= 5f )
|
||||
if (!city.civ.isHuman() && (yieldStats.science == 3f || yieldStats.science >= 5f ))
|
||||
yieldStats.science *= 2f
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user