aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation
diff options
context:
space:
mode:
author Joel Machens <ajmach6@gmail.com>2023-10-25 21:20:17 +0200
committer Joel Machens <ajmach6@gmail.com>2023-10-25 21:20:17 +0200
commitbb5dae3b8967007440a8bf459a6c4d491e4394a9 (patch)
tree8361cf22b50061cd47180d3cb838441f30208a6b /src/openvic-simulation
parentfd1b24dfc6988eaa301645f0f5f2fcd845eb0a29 (diff)
Fix Incorrect Modifier Effect
Diffstat (limited to 'src/openvic-simulation')
-rw-r--r--src/openvic-simulation/Modifier.cpp7
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);