mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 15:27:50 +07:00
Polynesia's unique "+[10]% Strength if within [2] tiles of a [Moai]" was not working correctly. The matchesUniqueFilter function didn't check for improvement on the tile. This was corrected and now Polynesia's unique works correctly. Any other improvement besides Moai will also work. (#3315)
This commit is contained in:
@ -332,6 +332,7 @@ open class TileInfo {
|
||||
|| filter == terrainFeature
|
||||
|| baseTerrainObject.uniques.contains(filter)
|
||||
|| terrainFeature != null && getTerrainFeature()!!.uniques.contains(filter)
|
||||
|| improvement == filter
|
||||
|| filter == "Water" && isWater
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user