Merge branch 'master' of https://github.com/yairm210/UnCiv
This commit is contained in:
commit
f1f3753231
3 changed files with 12 additions and 1 deletions
|
@ -3,6 +3,8 @@
|
|||
// - Keep it uniform! Use the same word/style for the same thing when ever necessary.
|
||||
// Otherwise it may be confusing to the user
|
||||
//
|
||||
// Keep the names in SQUARE BRACKETS UNTRANSLATED!!!
|
||||
//
|
||||
// - Use the language feature of wikipedia (search the original tech in English
|
||||
// and then choose your language on the left)
|
||||
//
|
||||
|
|
|
@ -826,6 +826,8 @@
|
|||
rangedStrength:30,
|
||||
cost: 225,
|
||||
requiredTech:"Industrialization",
|
||||
upgradesTo:"Machine Gun",
|
||||
obsoleteTech:"Ballistics",
|
||||
hurryCostModifier:20,
|
||||
attackSound:"machinegun"
|
||||
},
|
||||
|
@ -914,6 +916,7 @@
|
|||
range:3,
|
||||
cost: 320,
|
||||
requiredTech:"Dynamite",
|
||||
upgradesTo:"Rocket Artillery",
|
||||
uniques:["Bonus vs City 200%","No defensive terrain bonus",
|
||||
"Must set up to ranged attack","Limited Visibility","Indirect Fire"],
|
||||
hurryCostModifier:20
|
||||
|
@ -942,6 +945,8 @@
|
|||
cost: 350,
|
||||
requiredTech:"Combustion",
|
||||
requiredResource:"Oil",
|
||||
upgradesTo:"Tank",
|
||||
obsoleteTech:"Combined Arms",
|
||||
uniques:["Can move after attacking","No defensive terrain bonus"],
|
||||
hurryCostModifier:20
|
||||
},
|
||||
|
@ -998,6 +1003,8 @@
|
|||
strength:70,
|
||||
cost: 375,
|
||||
requiredTech:"Plastics",
|
||||
upgradesTo:"Mechanized Infantry",
|
||||
obsoleteTech:"Nuclear Fission",
|
||||
hurryCostModifier:20,
|
||||
attackSound:"shot"
|
||||
},
|
||||
|
@ -1021,6 +1028,8 @@
|
|||
cost: 375,
|
||||
requiredTech:"Combined Arms",
|
||||
requiredResource:"Oil",
|
||||
upgradesTo:"Modern Armor",
|
||||
//obsoleteTech:"Robotics",
|
||||
uniques:["Can move after attacking","No defensive terrain bonus"]
|
||||
hurryCostModifier:20,
|
||||
},
|
||||
|
|
|
@ -26,7 +26,7 @@ class MapUnitCombatant(val unit: MapUnit) : ICombatant {
|
|||
}
|
||||
|
||||
override fun getDefendingStrength(): Int {
|
||||
if(unit.isEmbarked()) return 5 * getCivInfo().getEra().ordinal
|
||||
if(unit.isEmbarked() && !unit.type.isCivilian()) return 5 * getCivInfo().getEra().ordinal
|
||||
return unit.baseUnit().strength
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue