mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-25 22:18:50 +07:00
Resolved #3409 - American unique grants extra sight only to military land units
This commit is contained in:
parent
1f59a4ea48
commit
3ab57f1ada
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user