Helicopter Gunship (#3385)

* -Helicopter Gunship Implemented
-Anti-Tank Gun upgrades to it

* unit atlas

* "All tiles cost 1 movement"
This commit is contained in:
givehub99 2020-12-04 04:20:24 -08:00 committed by GitHub
parent 5cf3e7764a
commit 6a73909c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 17 deletions

View File

Before

Width:  |  Height:  |  Size: 306 B

After

Width:  |  Height:  |  Size: 306 B

View File

@ -256,7 +256,7 @@ Great War Infantry
orig: 100, 100
offset: 0, 0
index: -1
Helicopter
Helicopter Gunship
rotate: false
xy: 614, 104
size: 100, 100

View File

@ -1232,9 +1232,23 @@
"strength": 50,
"cost": 300,
"requiredTech": "Combined Arms",
//"upgradesTo": "Helicopter Gunship",
"upgradesTo": "Helicopter Gunship",
"uniques": ["Bonus vs Armor 100%"]
},
{
// "Hovering unit" unique gives ability to get into impassable tiles - and only that (no vision bonus or flying over ocean)
// Unit embarks like any other ground unit and has penalty for attacking over river or from embarked state
// "Unable to capture cities"
"name": "Helicopter Gunship",
"unitType": "Melee",
"movement": 6,
"strength": 60,
"cost": 425,
"requiredTech": "Computers",
"requiredResource": "Aluminum",
"uniques": ["Bonus vs Armor 100%", "No defensive terrain bonuses", "Can move after attacking", "All tiles cost 1 movement", "Can pass through impassable tiles", "Unable to capture cities"],
"attackSound": "shot"
},
{
"name": "Rocket Artillery",
"unitType": "Siege",
@ -1312,20 +1326,6 @@
"attackSound": "shot"
// cannot be based on carrier
},
{
// "Hovering unit" unique gives ability to get into impassable tiles - and only that (no vision bonus or flying over ocean)
// Unit embarks like any other ground unit and has penalty for attacking over river or from embarked state
// "Unable to capture cities"
"name": "Helicopter Gunship",
"unitType": "Melee",
"movement": 6,
"strength": 60,
"cost": 425,
"requiredTech": "Computers",
"requiredResource": "Aluminum",
"uniques": ["Bonus vs Armor 100%", "Ignores terrain cost", "No defensive terrain bonuses", "Can move after attacking"],
"attackSound": "shot"
},
{
"name": "Missile Cruiser",
"unitType": "WaterRanged",

View File

@ -123,7 +123,7 @@ class MapUnit {
tempUniques = uniques
allTilesCosts1 = hasUnique("All tiles costs 1")
allTilesCosts1 = hasUnique("All tiles cost 1 movement") || hasUnique("All tiles costs 1")
canPassThroughImpassableTiles = hasUnique("Can pass through impassable tiles")
ignoresTerrainCost = hasUnique("Ignores terrain cost")
roughTerrainPenalty = hasUnique("Rough terrain penalty")