This commit is contained in:
yairm210
2021-10-24 20:54:39 +03:00
parent 8e9b7026c0
commit 741f2522b9
3 changed files with 21 additions and 5 deletions

View File

@ -3,8 +3,8 @@ package com.unciv.build
object BuildConfig { object BuildConfig {
const val kotlinVersion = "1.5.30" const val kotlinVersion = "1.5.30"
const val appName = "Unciv" const val appName = "Unciv"
const val appCodeNumber = 639 const val appCodeNumber = 640
const val appVersion = "3.17.10" const val appVersion = "3.17.11"
const val gdxVersion = "1.10.0" const val gdxVersion = "1.10.0"
const val roboVMVersion = "2.3.1" const val roboVMVersion = "2.3.1"

View File

@ -1,3 +1,18 @@
## 3.17.11
City construction speedup with caching stats from tiles
Fixed "[stats] from all [stat] buildings" check for stat relatedness
By xlenstra:
- Fixed Siam's unique applying multiple times
- Added missing unit type filter
- Enumified all remaining resource & improvement uniques
- Fixed a bug where AI would not found religions
- Fixed a bug where buying units with faith would not increase in cost
Inner Sea map type - By SimonCeder
## 3.17.10 ## 3.17.10
Global uniques from buildings register correctly for units Global uniques from buildings register correctly for units

View File

@ -237,9 +237,10 @@ class DiplomacyManager() {
for (unique in otherCiv().getMatchingUniques("Resting point for Influence with City-States is increased by []")) for (unique in otherCiv().getMatchingUniques("Resting point for Influence with City-States is increased by []"))
restingPoint += unique.params[0].toInt() restingPoint += unique.params[0].toInt()
for (unique in otherCiv().getMatchingUniques("Resting point for Influence with City-States following this religion []")) if (civInfo.cities.any()) // no capital if no cities
if (otherCiv().religionManager.religion?.name == civInfo.getCapital().religion.getMajorityReligionName()) for (unique in otherCiv().getMatchingUniques("Resting point for Influence with City-States following this religion []"))
restingPoint += unique.params[0].toInt() if (otherCiv().religionManager.religion?.name == civInfo.getCapital().religion.getMajorityReligionName())
restingPoint += unique.params[0].toInt()
if (diplomaticStatus == DiplomaticStatus.Protector) restingPoint += 10 if (diplomaticStatus == DiplomaticStatus.Protector) restingPoint += 10