Add mutadaptive RR effect and related UI support

This commit is contained in:
DarkPhoenix
2018-12-10 10:42:49 +03:00
parent f05439989d
commit f4123310ae
3 changed files with 14 additions and 5 deletions

View File

@@ -332,7 +332,7 @@ class Miscellanea(ViewColumn):
text = "{0}s".format(formatAmount(float(recalibration) / 1000, 3, 0, 3))
tooltip = "Sensor recalibration time"
return text, tooltip
elif itemGroup == "Remote Armor Repairer":
elif itemGroup in ("Remote Armor Repairer", "Mutadaptive Remote Armor Repairer"):
repAmount = stuff.getModifiedItemAttr("armorDamageAmount")
cycleTime = stuff.getModifiedItemAttr("duration")
if not repAmount or not cycleTime: