From bb5dae3b8967007440a8bf459a6c4d491e4394a9 Mon Sep 17 00:00:00 2001 From: Joel Machens Date: Wed, 25 Oct 2023 14:20:17 -0500 Subject: Fix Incorrect Modifier Effect --- src/openvic-simulation/Modifier.cpp | 7 ++++--- 1 file 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); -- cgit v1.2.3-56-ga3b1