diff options
author | Hop311 <Hop3114@gmail.com> | 2023-10-25 21:53:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-25 21:53:14 +0200 |
commit | 3d52445de9bd5fb7e77883f2f880587e140fe3bc (patch) | |
tree | 8361cf22b50061cd47180d3cb838441f30208a6b /src/openvic-simulation/Modifier.cpp | |
parent | fd1b24dfc6988eaa301645f0f5f2fcd845eb0a29 (diff) | |
parent | bb5dae3b8967007440a8bf459a6c4d491e4394a9 (diff) |
Merge pull request #65 from OpenVicProject/fix/modifier-effects
Fix Incorrect Modifier Effect
Diffstat (limited to 'src/openvic-simulation/Modifier.cpp')
-rw-r--r-- | src/openvic-simulation/Modifier.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/openvic-simulation/Modifier.cpp b/src/openvic-simulation/Modifier.cpp index d0f3a69..f5f7337 100644 --- a/src/openvic-simulation/Modifier.cpp +++ b/src/openvic-simulation/Modifier.cpp @@ -191,13 +191,14 @@ bool ModifierManager::setup_modifier_effects() { ret &= add_modifier_effect("ruling_party_support", true); ret &= add_modifier_effect("social_reform_desire", false); ret &= add_modifier_effect("supply_consumption", false); + ret &= add_modifier_effect("unit_start_experience", true); // weird, naval_unit_start_experience = 15 would give a 15% boost + ret &= add_modifier_effect("war_exhaustion", false); + // TODO: make technology group modifiers dynamic ret &= add_modifier_effect("army_tech_research_bonus", true); ret &= add_modifier_effect("commerce_tech_research_bonus", true); ret &= add_modifier_effect("culture_tech_research_bonus", true); ret &= add_modifier_effect("industry_tech_research_bonus", true); - ret &= add_modifier_effect("naval_tech_research_bonus", true); - ret &= add_modifier_effect("unit_start_experience", true); // weird, naval_unit_start_experience = 15 would give a 15% boost - ret &= add_modifier_effect("war_exhaustion", false); + ret &= add_modifier_effect("navy_tech_research_bonus", true); /* Province Modifier Effects */ ret &= add_modifier_effect("assimilation_rate", true); |