mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 15:27:50 +07:00
Great improvement bonus provided properly
This commit is contained in:
@ -386,7 +386,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Freedom Complete",
|
||||
"uniques": ["+[100]% yield from [Great Improvements]", "Golden Age length increased by [50]%"]
|
||||
"uniques": ["+[100]% yield from every [Great Improvement]", "Golden Age length increased by [50]%"]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -317,7 +317,7 @@ open class TileInfo {
|
||||
stats.add(unique.stats.times(numberOfBonuses.toFloat()))
|
||||
}
|
||||
|
||||
for (unique in observingCiv.getMatchingUniques("+[]% yield from []"))
|
||||
for (unique in observingCiv.getMatchingUniques("+[]% yield from every []"))
|
||||
if (improvement.matchesFilter(unique.params[0]))
|
||||
stats.timesInPlace(1f + unique.params[1].toFloat() / 100f)
|
||||
|
||||
|
Reference in New Issue
Block a user