Fixed bug where submarines could not attack embarked units (#4459)

* Fixed bug where submarines could not attack embarked units

* Implemented requested changes

* Fixed typo
This commit is contained in:
Xander Lenstra
2021-07-12 18:37:56 +02:00
committed by GitHub
parent 30082c8254
commit f97e64e54e
2 changed files with 13 additions and 5 deletions

View File

@ -1004,7 +1004,8 @@
"cost": 325,
"requiredTech": "Refrigeration",
"upgradesTo": "Nuclear Submarine",
"uniques": ["+[75]% Strength when attacking", "Invisible to others", "Can only attack [Water] units", "Can attack submarines", "Can enter ice tiles"],
"uniques": ["+[75]% Strength when attacking", "Invisible to others", "Can only attack [Water] tiles",
"Can attack submarines", "Can enter ice tiles"],
"attackSound": "torpedo"
},
{
@ -1364,8 +1365,9 @@
"rangedStrength": 85,
"cost": 425,
"requiredTech": "Telecommunications",
"uniques": ["+[75]% Strength when attacking", "Invisible to others", "Can only attack [Water] units",
"Can attack submarines", "Can enter ice tiles", "[+1] Visibility Range", "Can carry [2] [Missile] units"],
"uniques": ["+[75]% Strength when attacking", "Invisible to others",
"Can only attack [Water] tiles", "Can attack submarines", "Can enter ice tiles",
"[+1] Visibility Range", "Can carry [2] [Missile] units"],
"attackSound": "torpedo"
},
{