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 14:51:21 +0100
committer GitHub <noreply@github.com>2024-10-29 14:51:21 +0100
commit198e8977b1fcbb35cd9df33db2b8a06380e40f19 (patch)
tree1587242e6c8cd39a9dbb167012bec505ac2c3ad2 /src/openvic-simulation/modifier/ModifierEffectCache.hpp
parentf8dc23edac88176356edcc5b1aaeaa5ecb22798e (diff)
parent80233199b7cfee38b655a5123d0e65b1f849e345 (diff)
Merge pull request #216 from OpenVicProject/attrition_local_modifier
Support attrition modifier from terrain
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);