@@ -527,11 +527,7 @@ def getVolley(self, spoolOptions=None, targetProfile=None, ignoreState=False):
527527
528528 def getDps (self , spoolOptions = None , targetProfile = None , ignoreState = False , getSpreadDPS = False ):
529529 dmgDuringCycle = DmgTypes .default ()
530- # Special hack for breachers, since those are DoT and work independently of gun cycle
531- if self .isBreacher :
532- cycleParams = CycleInfo (activeTime = 1000 , inactiveTime = 0 , quantity = math .inf , isInactivityReload = False )
533- else :
534- cycleParams = self .getCycleParameters ()
530+ cycleParams = self .getCycleParametersForDps ()
535531 if cycleParams is None :
536532 return dmgDuringCycle
537533 volleyParams = self .getVolleyParameters (spoolOptions = spoolOptions , targetProfile = targetProfile , ignoreState = ignoreState )
@@ -965,6 +961,13 @@ def calculateModifiedAttributes(self, fit, runTime, forceProjected=False, gang=F
965961 and ((gang and effect .isType ("gang" )) or not gang ):
966962 effect .handler (fit , self , context , projectionRange , effect = effect )
967963
964+ def getCycleParametersForDps (self , reloadOverride = None ):
965+ # Special hack for breachers, since those are DoT and work independently of gun cycle
966+ if self .isBreacher :
967+ return CycleInfo (activeTime = 1000 , inactiveTime = 0 , quantity = math .inf , isInactivityReload = False )
968+ else :
969+ return self .getCycleParameters (reloadOverride = reloadOverride )
970+
968971 def getCycleParameters (self , reloadOverride = None ):
969972 """Copied from new eos as well"""
970973 # Determine if we'll take into account reload time or not
0 commit comments