Resolved #2926 - cost reduction from big ben and policies works correctly
This commit is contained in:
parent
6cc4db69b1
commit
60b03956cf
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ class Building : NamedStats(), IConstruction{
|
|||
var cost = (30 * getProductionCost(civInfo)).toDouble().pow(0.75) * (1 + hurryCostModifier / 100)
|
||||
|
||||
for (unique in civInfo.getMatchingUniques("Cost of purchasing items in cities reduced by []%"))
|
||||
cost *= 1 - (unique.getPlaceholderParameters()[0].toFloat())
|
||||
cost *= 1 - (unique.getPlaceholderParameters()[0].toFloat() / 100)
|
||||
|
||||
for (unique in civInfo.getMatchingUniques("Cost of purchasing [] buildings reduced by []%")) {
|
||||
val placeholderParams = unique.getPlaceholderParameters()
|
||||
|
|
Loading…
Reference in a new issue