Skip to content

Commit cd12279

Browse files
committed
Add ADC ability duration
1 parent 263929b commit cd12279

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

gui/builtinViewColumns/misc.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,13 @@ def __getData(self, stuff):
182182
text = "{0} | {1}".format(formatAmount(strength, 3, 0, 3), formatAmount(coherence, 3, 0, 3))
183183
tooltip = "Virus strength and coherence"
184184
return text, tooltip
185+
elif itemGroup == "Damage Control":
186+
duration = stuff.getModifiedItemAttr("duration")
187+
if not duration:
188+
return "", None
189+
text = "{0}s".format(formatAmount(duration, 3, 0, 0))
190+
tooltip = "Assault ability duration"
191+
return text, tooltip
185192
elif itemGroup in ("Warp Scrambler", "Warp Core Stabilizer", "Structure Warp Scrambler"):
186193
scramStr = stuff.getModifiedItemAttr("warpScrambleStrength")
187194
if not scramStr:

0 commit comments

Comments
 (0)