mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-09 07:18:57 +07:00
Merge pull request #376 from ninjatao/fix_humanism
Humanism should increase happiness, instead of science.
This commit is contained in:
@ -129,7 +129,7 @@ class Building : NamedStats(), IConstruction{
|
|||||||
stats.science += 1f
|
stats.science += 1f
|
||||||
|
|
||||||
if (adoptedPolicies.contains("Humanism") && hashSetOf("University", "Observatory", "Public School").contains(name))
|
if (adoptedPolicies.contains("Humanism") && hashSetOf("University", "Observatory", "Public School").contains(name))
|
||||||
stats.science += 1f
|
stats.happiness += 1f
|
||||||
|
|
||||||
if (adoptedPolicies.contains("Theocracy") && name == "Temple")
|
if (adoptedPolicies.contains("Theocracy") && name == "Temple")
|
||||||
percentStatBonus = Stats().apply { gold=10f }
|
percentStatBonus = Stats().apply { gold=10f }
|
||||||
|
Reference in New Issue
Block a user