Added Stealth tech and Stealth Bombers (#4271)

* Changed some interception-related uniques

- "Can not be intercepted" -> "Cannot be intercepted"
  This really irked me, and the new version is also how it is written
  in the wiki.
- "Reduces damage taken from interception by 50%" ->
  "Damage taken from interception reduced by [50]%"

* Added "Cannot be carried by [unitFilter] units" unique

* Added an icon for Stealth

* Added Stealth technology and the Stealth Bomber

* Possibly fixed incorrect rounding for interception damage bonus

* Various code style changes

* Made Stealth Bomber interceptable, but with 100% damage reduction
This commit is contained in:
Arthur van der Staaij
2021-06-27 07:57:11 +02:00
committed by GitHub
parent 401c10c132
commit 0f0abad5ea
9 changed files with 430 additions and 401 deletions

View File

@ -1134,7 +1134,7 @@
"cost": 375,
"requiredTech": "Radar",
"requiredResource": "Oil",
//"upgradesTo": "Stealth Bomber",
"upgradesTo": "Stealth Bomber",
"attackSound": "shot"
},
{
@ -1150,7 +1150,7 @@
"requiredTech": "Radar",
"requiredResource": "Oil",
"promotions": ["Evasion", "Siege I"],
//"upgradesTo": "Stealth Bomber",
"upgradesTo": "Stealth Bomber",
"attackSound": "shot"
},
{
@ -1350,22 +1350,19 @@
"requiredResource": "Uranium",
"uniques": ["Can move after attacking", "No defensive terrain bonus"]
},
/*
{
"name": "Stealth Bomber",
"unitType": "Bomber",
"movement": 2,
"strength": 85,
"rangedStrength": 65,
"rangedStrength": 85,
"range": 20,
"cost": 425,
"requiredTech": "Stealth",
"requiredResource": "Aluminum",
"uniques": ["Evasion", "6 tiles in every direction always visible"],
"uniques": ["Damage taken from interception reduced by [100]%", "Cannot be carried by [Carrier] units", "6 tiles in every direction always visible"],
"attackSound": "shot"
// cannot be based on carrier
},
*/
/* Great people */