mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -04:00
Merge pull request #666 from Am-per-Sand/patch-3
Enable Piety when building Broadcast Tower
This commit is contained in:
commit
f8efee7c1c
@ -178,7 +178,7 @@ class Building : NamedStats(), IConstruction{
|
||||
if (civInfo.policies.adoptedPolicies.contains("Mercantilism")) cost *= 0.75
|
||||
if (civInfo.getBuildingUniques().contains("-15% to purchasing items in cities")) cost *= 0.85
|
||||
if (civInfo.policies.adoptedPolicies.contains("Patronage")
|
||||
&& listOf("Monument", "Temple", "Opera House", "Museum").contains(name)) cost *= 0.5
|
||||
&& listOf("Monument", "Temple", "Opera House", "Museum", "Broadcast Tower").contains(name)) cost *= 0.5
|
||||
}
|
||||
|
||||
return (cost / 10).toInt() * 10
|
||||
@ -312,4 +312,4 @@ class Building : NamedStats(), IConstruction{
|
||||
|
||||
if (freeTechs != 0) civInfo.tech.freeTechs += freeTechs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user