Feature#2081 (#2100)

* Unit can now only be purchased if no other unit of same type is stationed in city center #2081

* #2081
Added unique to landsknecht and changed condition for movement panelty

* Refactored when statement to if
#2081

* Only one plane at a time can be purchased to a maximum of 6 that are NOT transported in a single city
#2081

* removed duplicate code
#2081

* refactor canPurchase() and now track bought units in a city in a mutableList
#2081

* refactor canPurchase() it basicly just tracks if the unit can be placed on the center tile! if it cant then we dont allow the purchase!
#2081

* Changed wording of unique and added translations
#2081

* Changed wording of unique
#2081

* removed unneeded imports
#2081

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
This commit is contained in:
EdinCitaku
2020-03-21 19:35:30 +01:00
committed by GitHub
parent d7ac7f9173
commit e06d537688
10 changed files with 57 additions and 9 deletions

View File

@ -530,7 +530,7 @@
"strength": 16,
"cost": 45,
"requiredTech": "Civil Service",
"uniques": ["Bonus vs Mounted 50%"],
"uniques": ["Bonus vs Mounted 50%", "Can move immediately once bought" ],
"upgradesTo": "Musketman",
"obsoleteTech": "Gunpowder",
"hurryCostModifier": 20,

View File

@ -3092,6 +3092,10 @@ Calcutta =
# Requires translation!
Lahore =
# Requires translation!
All healing effects doubled =
Can move immediately once bought =
# Requires translation!
# Multiplayer Turn Checker Service
Bangalore =
# Requires translation!
Hyderabad =

View File

@ -879,7 +879,32 @@ Bonus when performing air sweep [bonusAmount]% = [bonusAmount]% Bonus bei Luftra
Dogfighting I = Kurvenkampf I
Dogfighting II = Kurvenkampf II
Dogfighting III = Kurvenkampf III
Bonus when intercepting [bonusAmount]% = [bonusAmount]% Bonus beim Abfangen
Interception I = Abfangen I
Interception II = Abfangen II
Interception III = Abfangen III
Siege I = Belagerung I
Siege II = Belagerung II
Siege III = Belagerung III
Evasion = Ausweichen
Reduces damage taken from interception by 50% = Reduziert den empfangenden Schaden durch Abfangen um 50%
Bonus when intercepting [amount]% = [amount]% Bonus beim Abfangen
Ambush I = Lufthinterhalt I
Ambush II = Lufthinterhalt II
Armor Plating I = Panzerung I
Armor Plating II = Panzerung II
Armor Plating III = Panzerung III
+25% Combat Bonus when defending = +25% Kampfbonus bei Verteidigung
Flight Deck I = Flugdeck I
Flight Deck II = Flugdeck II
Flight Deck III = Flugdeck III
Can carry 1 extra air unit = Kann 1 zusätzliche Lufteinheit tragen
Can carry 2 aircraft = Kann 2 Flugzeuge tragen
Haka War Dance = Haka-Kriegstanz
-10% combat strength for adjacent enemy units = -10% Kampfstärke für angrenzende feindliche Einheiten
Rejuvenation = Verjüngung
All healing effects doubled = Alle Heilungseffekte verdoppelt
Can move immediately once bought = Kann sich nach dem Kauf sofort bewegen
# Multiplayer Turn Checker Service
Multiplayer options = Multiplayer Einstellungen

View File

@ -852,7 +852,6 @@ Bonus when performing air sweep [bonusAmount]% =
Dogfighting I =
Dogfighting II =
Dogfighting III =
# Multiplayer Turn Checker Service
Multiplayer options =