Tech cost increases with more city.

This commit is contained in:
Duan Tao
2019-09-09 17:56:32 +08:00
parent 9e0ba99c0a
commit bfe73c1f4e

View File

@ -43,6 +43,7 @@ class TechManager {
var techCost = GameBasics.Technologies[techName]!!.cost.toFloat()
techCost *= civInfo.getDifficulty().researchCostModifier
techCost *= civInfo.gameInfo.gameParameters.gameSpeed.getModifier()
techCost *= (1 + 0.02 * (civInfo.cities.size -1 )).toFloat()
return techCost.toInt()
}