diff options
author | hop311 <hop3114@gmail.com> | 2024-10-19 12:31:40 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-10-19 12:31:40 +0200 |
commit | 35909d6e79d524f19f9b69dffd02fcf162be5093 (patch) | |
tree | fff57526931ab126e1250457e7ccc07c793504f4 /src/openvic-simulation/modifier/ModifierValue.hpp | |
parent | 18ab144ec4ecf1efca68a26bc79b9d54e28e54f8 (diff) |
Switch to excluding given modifier effect targets rather than using a positive filter
Diffstat (limited to 'src/openvic-simulation/modifier/ModifierValue.hpp')
-rw-r--r-- | src/openvic-simulation/modifier/ModifierValue.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/openvic-simulation/modifier/ModifierValue.hpp b/src/openvic-simulation/modifier/ModifierValue.hpp index 23c0ba5..6e6a29b 100644 --- a/src/openvic-simulation/modifier/ModifierValue.hpp +++ b/src/openvic-simulation/modifier/ModifierValue.hpp @@ -40,8 +40,10 @@ namespace OpenVic { ModifierValue& operator*=(fixed_point_t const& right); ModifierValue operator*(fixed_point_t const& right) const; - void apply_target_filter(ModifierEffect::target_t targets); - void multiply_add_filter(ModifierValue const& other, fixed_point_t multiplier, ModifierEffect::target_t targets); + void apply_exclude_targets(ModifierEffect::target_t excluded_targets); + void multiply_add_exclude_targets( + ModifierValue const& other, fixed_point_t multiplier, ModifierEffect::target_t excluded_targets + ); friend std::ostream& operator<<(std::ostream& stream, ModifierValue const& value); }; |