diff --git a/eos/saveddata/mutator.py b/eos/saveddata/mutator.py index e21135dee..ee1b116c2 100644 --- a/eos/saveddata/mutator.py +++ b/eos/saveddata/mutator.py @@ -89,12 +89,9 @@ class Mutator(EqBase): # sweet, all good returnVal = val else: - # need to fudge the numbers a bit. Go with the value closest to base - if val >= 0: - returnVal = min(self.maxValue, max(self.minValue, val)) - else: - returnVal = max(self.maxValue, min(self.minValue, val)) - + actualMin = min(self.minValue, self.maxValue) + actualMax = max(self.minValue, self.maxValue) + returnVal = min(actualMax, max(actualMin, val)) return returnVal @property diff --git a/gui/builtinItemStatsViews/itemMutator.py b/gui/builtinItemStatsViews/itemMutator.py index ce5d366c7..1796f103c 100644 --- a/gui/builtinItemStatsViews/itemMutator.py +++ b/gui/builtinItemStatsViews/itemMutator.py @@ -89,6 +89,7 @@ class ItemMutatorList(wx.ScrolledWindow): higOverrides = { ('Stasis Web', 'speedFactor'): False, ('Damage Control', 'duration'): True, + ('Siege Module', 'siegeLocalLogisticsDurationBonus'): False } first = True