Show capacitor regen difference for selected mods
This commit is contained in:
@@ -444,14 +444,6 @@ class Miscellanea(ViewColumn):
|
||||
text = "{0}/s".format(formatAmount(rps, 3, 0, 3, forceSign=True))
|
||||
tooltip = "Structure repaired per second"
|
||||
return text, tooltip
|
||||
elif itemGroup in ("Capacitor Recharger", "Capacitor Power Relay", "Capacitor Battery"):
|
||||
fit = Fit.getInstance().getFit(self.fittingView.getActiveFit())
|
||||
capGain = fit.getCapRegenGainFromMod(stuff)
|
||||
if not capGain:
|
||||
return "", None
|
||||
text = formatAmount(capGain, 3, 0, 3, forceSign=True)
|
||||
tooltip = "Peak capacitor regeneration gain"
|
||||
return text, tooltip
|
||||
elif itemGroup == "Gang Coordinator":
|
||||
command = stuff.getModifiedItemAttr("commandBonus") or stuff.getModifiedItemAttr("commandBonusHidden")
|
||||
if not command:
|
||||
|
||||
Reference in New Issue
Block a user