mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-11 11:28:03 +07: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",
|
||||
"prerequisites": ["Shock II","Drill II","Targeting I",
|
||||
"Bombardment I","Boarding Party I", "Coastal Raider I", "Wolfpack I"],
|
||||
"effect": "+[1] Movement",
|
||||
"effect": "[+1] Movement",
|
||||
"unitTypes": ["Mounted","WaterMelee","WaterRanged","Armor","WaterSubmarine"]
|
||||
},
|
||||
{
|
||||
|
@ -564,7 +564,7 @@ class MapUnit {
|
||||
|
||||
if (mayHeal) {
|
||||
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()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user