aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/modifier/ModifierEffectCache.hpp
diff options
context:
space:
mode:
author wvpm <24685035+wvpm@users.noreply.github.com>2024-10-29 10:50:05 +0100
committer wvpm <24685035+wvpm@users.noreply.github.com>2024-10-29 10:50:05 +0100
commit80233199b7cfee38b655a5123d0e65b1f849e345 (patch)
tree90874c7993e610d5767c34f291adb6de75502fef /src/openvic-simulation/modifier/ModifierEffectCache.hpp
parent0f2074fc51cfab930e2a672125c1625d9a47fb06 (diff)
Support attrition modifier from terrainattrition_local_modifier
Diffstat (limited to 'src/openvic-simulation/modifier/ModifierEffectCache.hpp')
-rw-r--r--src/openvic-simulation/modifier/ModifierEffectCache.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openvic-simulation/modifier/ModifierEffectCache.hpp b/src/openvic-simulation/modifier/ModifierEffectCache.hpp
index e88aaea..7634ff1 100644
--- a/src/openvic-simulation/modifier/ModifierEffectCache.hpp
+++ b/src/openvic-simulation/modifier/ModifierEffectCache.hpp
@@ -167,6 +167,7 @@ namespace OpenVic {
ModifierEffect const* PROPERTY(local_rgo_throughput);
ModifierEffect const* PROPERTY(local_ruling_party_support);
ModifierEffect const* PROPERTY(local_ship_build);
+ ModifierEffect const* PROPERTY(attrition_local);
ModifierEffect const* PROPERTY(max_attrition);
ModifierEffect const* PROPERTY(mine_rgo_throughput_global);
ModifierEffect const* PROPERTY(mine_rgo_output_global);
@@ -186,7 +187,7 @@ namespace OpenVic {
/* Military Modifier Effects */
ModifierEffect const* PROPERTY(attack_leader);
- ModifierEffect const* PROPERTY(attrition);
+ ModifierEffect const* PROPERTY(attrition_leader);
ModifierEffect const* PROPERTY(defence_leader);
ModifierEffect const* PROPERTY(experience);
ModifierEffect const* PROPERTY(morale_leader);