Resolved #3409 - American unique grants extra sight only to military land units

This commit is contained in:
Yair Morgenstern 2020-12-11 14:11:35 +02:00
parent 1f59a4ea48
commit 3ab57f1ada

View File

@ -166,7 +166,7 @@ class MapUnit {
visibilityRange += getUniques().count { it.text == "+1 Visibility Range" }
if (hasUnique("+2 Visibility Range")) visibilityRange += 2 // This shouldn't be stackable
if (hasUnique("Limited Visibility")) visibilityRange -= 1
if (civInfo.hasUnique("+1 Sight for all land military units"))
if (civInfo.hasUnique("+1 Sight for all land military units") && type.isMilitary() && type.isLandUnit())
visibilityRange += 1
if (type.isWaterUnit() && !type.isCivilian()
&& civInfo.hasUnique("All military naval units receive +1 movement and +1 sight"))