mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-29 15:01:09 -04:00
Great improvement bonus provided properly
This commit is contained in:
parent
9668d40688
commit
655923f4cf
@ -386,7 +386,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Freedom Complete",
|
"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()))
|
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]))
|
if (improvement.matchesFilter(unique.params[0]))
|
||||||
stats.timesInPlace(1f + unique.params[1].toFloat() / 100f)
|
stats.timesInPlace(1f + unique.params[1].toFloat() / 100f)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user