mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 22:37:02 -04:00
Fixed more bugs I introduced myself (#4368)
* Fix bug where mobility doesn't work * Fixed supply _still_ not working
This commit is contained in:
parent
be5345477a
commit
2a4ca74e7b
@ -432,7 +432,7 @@
|
|||||||
"name": "Mobility",
|
"name": "Mobility",
|
||||||
"prerequisites": ["Shock II","Drill II","Targeting I",
|
"prerequisites": ["Shock II","Drill II","Targeting I",
|
||||||
"Bombardment I","Boarding Party I", "Coastal Raider I", "Wolfpack I"],
|
"Bombardment I","Boarding Party I", "Coastal Raider I", "Wolfpack I"],
|
||||||
"effect": "+[1] Movement",
|
"effect": "[+1] Movement",
|
||||||
"unitTypes": ["Mounted","WaterMelee","WaterRanged","Armor","WaterSubmarine"]
|
"unitTypes": ["Mounted","WaterMelee","WaterRanged","Armor","WaterSubmarine"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -564,7 +564,7 @@ class MapUnit {
|
|||||||
|
|
||||||
if (mayHeal) {
|
if (mayHeal) {
|
||||||
for (unique in getMatchingUniques("[] HP when healing in [] tiles")) {
|
for (unique in getMatchingUniques("[] HP when healing in [] tiles")) {
|
||||||
if (tileInfo.matchesFilter(unique.params[1])) {
|
if (tileInfo.matchesFilter(unique.params[1], civInfo)) {
|
||||||
healing += unique.params[0].toInt()
|
healing += unique.params[0].toInt()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user