Add WaterSubmarine unit type.
This commit is contained in:
parent
8ad37530b2
commit
de5610180f
6 changed files with 27 additions and 10 deletions
BIN
android/Images/UnitPromotionIcons/Wolfpack_III_(Civ5).png
Normal file
BIN
android/Images/UnitPromotionIcons/Wolfpack_III_(Civ5).png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
android/Images/UnitPromotionIcons/Wolfpack_II_(Civ5).png
Normal file
BIN
android/Images/UnitPromotionIcons/Wolfpack_II_(Civ5).png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
android/Images/UnitPromotionIcons/Wolfpack_I_(Civ5).png
Normal file
BIN
android/Images/UnitPromotionIcons/Wolfpack_I_(Civ5).png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
|
@ -119,9 +119,9 @@
|
|||
{
|
||||
name:"Mobility",
|
||||
prerequisites:["Shock II","Drill II","Targeting I",
|
||||
"Bombardment I","Boarding Party I", "Coastal Raider I"],
|
||||
"Bombardment I","Boarding Party I", "Coastal Raider I", "Wolfpack I"],
|
||||
effect:"+1 Movement",
|
||||
unitTypes:["Mounted","WaterMelee","WaterRanged","Armor"]
|
||||
unitTypes:["Mounted","WaterMelee","WaterRanged","Armor","WaterSubmarine"]
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -147,9 +147,9 @@
|
|||
|
||||
{
|
||||
name:"Range",
|
||||
prerequisites:["Accuracy III","Barrage III","Targeting II","Bombardment II"],
|
||||
prerequisites:["Accuracy III","Barrage III","Targeting II","Bombardment II", "Wolfpack II"],
|
||||
effect:"+1 Range",
|
||||
unitTypes:["Ranged","Siege","WaterRanged"]
|
||||
unitTypes:["Ranged","Siege","WaterRanged","WaterSubmarine"]
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -181,10 +181,10 @@
|
|||
|
||||
{
|
||||
name:"Logistics",
|
||||
prerequisites:["Accuracy III","Barrage III","Targeting III",
|
||||
prerequisites:["Accuracy III","Barrage III","Targeting III", "Wolfpack III",
|
||||
"Bombardment III", "Coastal Raider III","Boarding Party III"],
|
||||
effect:"1 additional attack per turn",
|
||||
unitTypes:["Ranged","Siege","WaterMelee","WaterRanged"]
|
||||
unitTypes:["Ranged","Siege","WaterMelee","WaterRanged","WaterSubmarine"]
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -240,7 +240,6 @@
|
|||
effect:"Bonus vs City 15%",
|
||||
unitTypes:["WaterMelee"]
|
||||
}
|
||||
|
||||
{
|
||||
name:"Targeting I",
|
||||
effect:"Bonus vs City 15%",
|
||||
|
@ -258,5 +257,21 @@
|
|||
effect:"Bonus vs water units 15%",
|
||||
unitTypes:["WaterRanged"]
|
||||
}
|
||||
|
||||
{
|
||||
name:"Wolfpack I",
|
||||
effect:"Bonus as Attacker 25%",
|
||||
unitTypes:["WaterSubmarine"]
|
||||
}
|
||||
{
|
||||
name:"Wolfpack II",
|
||||
prerequisites:["Wolfpack I"],
|
||||
effect:"Bonus as Attacker 25%",
|
||||
unitTypes:["WaterSubmarine"]
|
||||
}
|
||||
{
|
||||
name:"Wolfpack III",
|
||||
prerequisites:["Wolfpack II"],
|
||||
effect:"Bonus as Attacker 25%",
|
||||
unitTypes:["WaterSubmarine"]
|
||||
}
|
||||
]
|
|
@ -525,7 +525,7 @@
|
|||
},
|
||||
{
|
||||
name: "Submarine",
|
||||
unitType: "WaterRanged",
|
||||
unitType: "WaterSubmarine",
|
||||
movement: 5,
|
||||
strength: 35,
|
||||
rangedStrength: 60,
|
||||
|
|
|
@ -11,7 +11,8 @@ enum class UnitType{
|
|||
Siege,
|
||||
WaterCivilian,
|
||||
WaterMelee,
|
||||
WaterRanged;
|
||||
WaterRanged,
|
||||
WaterSubmarine;
|
||||
|
||||
fun isMelee(): Boolean {
|
||||
return this == Melee
|
||||
|
@ -24,6 +25,7 @@ enum class UnitType{
|
|||
return this == Ranged
|
||||
|| this == Siege
|
||||
|| this == WaterRanged
|
||||
|| this == WaterSubmarine
|
||||
}
|
||||
|
||||
fun isLandUnit(): Boolean {
|
||||
|
|
Loading…
Reference in a new issue