diff --git a/eos/saveddata/fit.py b/eos/saveddata/fit.py index 458dab9872..ecb7f926d5 100644 --- a/eos/saveddata/fit.py +++ b/eos/saveddata/fit.py @@ -823,7 +823,8 @@ def calculateShieldRecharge(self, percent = PEAK_RECHARGE): return 10 / rechargeRate * sqrt(percent) * (1 - sqrt(percent)) * capacity def addDrain(self, cycleTime, capNeed, clipSize=0): - self.__extraDrains.append((cycleTime, capNeed, clipSize)) + resistance = self.ship.getModifiedItemAttr("energyWarfareResistance") or 1 + self.__extraDrains.append((cycleTime, capNeed * resistance, clipSize)) def removeDrain(self, i): del self.__extraDrains[i]