Add RR graphs
This commit is contained in:
@@ -1575,12 +1575,16 @@ class Fit:
|
||||
if drone.amountActive > 0:
|
||||
yield drone
|
||||
|
||||
def activeFighterAbilityIter(self):
|
||||
def activeFightersIter(self):
|
||||
for fighter in self.fighters:
|
||||
if fighter.active:
|
||||
for ability in fighter.abilities:
|
||||
if ability.active:
|
||||
yield fighter, ability
|
||||
yield fighter
|
||||
|
||||
def activeFighterAbilityIter(self):
|
||||
for fighter in self.activeFightersIter():
|
||||
for ability in fighter.abilities:
|
||||
if ability.active:
|
||||
yield fighter, ability
|
||||
|
||||
def __deepcopy__(self, memo=None):
|
||||
fitCopy = Fit()
|
||||
|
||||
@@ -549,8 +549,8 @@ class Module(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut):
|
||||
for rrAmount in repAmountParams.values():
|
||||
rrDuringCycle += rrAmount
|
||||
rrFactor = 1 / (avgCycleTime / 1000)
|
||||
rrDuringCycle *= rrFactor
|
||||
return rrDuringCycle
|
||||
rps = rrDuringCycle * rrFactor
|
||||
return rps
|
||||
|
||||
def getSpoolData(self, spoolOptions=None):
|
||||
weaponMultMax = self.getModifiedItemAttr("damageMultiplierBonusMax", 0)
|
||||
|
||||
Reference in New Issue
Block a user