mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-07 00:41:39 +07:00
Helicopter Gunship (#3385)
* -Helicopter Gunship Implemented -Anti-Tank Gun upgrades to it * unit atlas * "All tiles cost 1 movement"
This commit is contained in:
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 306 B |
@ -256,7 +256,7 @@ Great War Infantry
|
|||||||
orig: 100, 100
|
orig: 100, 100
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
Helicopter
|
Helicopter Gunship
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 614, 104
|
xy: 614, 104
|
||||||
size: 100, 100
|
size: 100, 100
|
||||||
|
@ -1232,9 +1232,23 @@
|
|||||||
"strength": 50,
|
"strength": 50,
|
||||||
"cost": 300,
|
"cost": 300,
|
||||||
"requiredTech": "Combined Arms",
|
"requiredTech": "Combined Arms",
|
||||||
//"upgradesTo": "Helicopter Gunship",
|
"upgradesTo": "Helicopter Gunship",
|
||||||
"uniques": ["Bonus vs Armor 100%"]
|
"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",
|
"name": "Rocket Artillery",
|
||||||
"unitType": "Siege",
|
"unitType": "Siege",
|
||||||
@ -1312,20 +1326,6 @@
|
|||||||
"attackSound": "shot"
|
"attackSound": "shot"
|
||||||
// cannot be based on carrier
|
// 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",
|
"name": "Missile Cruiser",
|
||||||
"unitType": "WaterRanged",
|
"unitType": "WaterRanged",
|
||||||
|
@ -123,7 +123,7 @@ class MapUnit {
|
|||||||
|
|
||||||
tempUniques = uniques
|
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")
|
canPassThroughImpassableTiles = hasUnique("Can pass through impassable tiles")
|
||||||
ignoresTerrainCost = hasUnique("Ignores terrain cost")
|
ignoresTerrainCost = hasUnique("Ignores terrain cost")
|
||||||
roughTerrainPenalty = hasUnique("Rough terrain penalty")
|
roughTerrainPenalty = hasUnique("Rough terrain penalty")
|
||||||
|
Reference in New Issue
Block a user