Carrier must be a water ranged unit (#2267)

This commit is contained in:
Jack Rainy 2020-03-28 20:31:33 +02:00 committed by GitHub
parent 882ca6f22b
commit c749fe6188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -856,6 +856,7 @@
"unitType": "WaterAircraftCarrier",
"movement": 5,
"strength": 40,
"rangedStrength": 40,
"cost": 375,
"requiredTech": "Electronics",
"uniques": ["Can carry 2 aircraft"],

View File

@ -32,6 +32,7 @@ enum class UnitType{
|| this == Siege
|| this == WaterRanged
|| this == WaterSubmarine
|| this == WaterAircraftCarrier
|| this == City
|| this.isAirUnit()