diff --git a/android/assets/jsons/Civ V - Vanilla/Nations.json b/android/assets/jsons/Civ V - Vanilla/Nations.json index 80b0f780d0..acc1b36e28 100644 --- a/android/assets/jsons/Civ V - Vanilla/Nations.json +++ b/android/assets/jsons/Civ V - Vanilla/Nations.json @@ -139,7 +139,7 @@ "outerColor": [ 114, 0, 0], "innerColor": [255,255,255], "uniqueName": "Sun Never Sets", - "uniques": ["+2 movement for all naval units"], + "uniques": ["+[2] Movement for all [Water] units"], "cities": ["London","York","Nottingham","Hastings","Canterbury","Coventry","Warwick","Newcastle","Oxford","Liverpool", "Dover","Brighton","Norwich","Leeds","Reading","Birmingham","Richmond","Exeter","Cambridge","Gloucester", "Manchester","Bristol","Leicester","Carlisle","Ipswich","Portsmouth","Berwick","Bath","Mumbles","Southampton", diff --git a/core/src/com/unciv/logic/map/MapUnit.kt b/core/src/com/unciv/logic/map/MapUnit.kt index ca3db57c62..c784c16938 100644 --- a/core/src/com/unciv/logic/map/MapUnit.kt +++ b/core/src/com/unciv/logic/map/MapUnit.kt @@ -89,11 +89,12 @@ class MapUnit { && civInfo.hasUnique("All military naval units receive +1 movement and +1 sight")) movement += 1 + // Deprecated as of 3.11.18 if (type.isWaterUnit() && civInfo.hasUnique("+2 movement for all naval units")) movement += 2 for (unique in civInfo.getMatchingUniques("+[] Movement for all [] units")) - if (unique.params[1] == type.name) + if (matchesCategory(unique.params[1])) movement += unique.params[0].toInt() if (civInfo.goldenAges.isGoldenAge() &&