From d5034c9e0d26c5d13af0199d830f9c9a9831c255 Mon Sep 17 00:00:00 2001 From: MaruMaruOO Date: Thu, 27 Sep 2018 02:50:28 -0400 Subject: [PATCH] Add HIC points to EFS export. --- service/efsPort.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/service/efsPort.py b/service/efsPort.py index d1dd394d9..ff4149692 100755 --- a/service/efsPort.py +++ b/service/efsPort.py @@ -153,6 +153,13 @@ class EfsPort(): elif mod.item.group.name == "Warp Scrambler": stats["type"] = "Warp Scrambler" EfsPort.attrDirectMap(["activationBlockedStrenght", "warpScrambleStrength"], stats, mod) + elif mod.item.group.name == "Warp Disrupt Field Generator": + maxRangeDefault = mod.getModifiedItemAttr("warpScrambleRange") + stats["type"] = "Warp Scrambler" + EfsPort.attrDirectMap(["activationBlockedStrenght", "warpScrambleStrength"], stats, mod) + if maxRangeDefault >= 30000: + # We want this to be 0 for disruption scripts as we have no other way to tell scrams from points. + stats["activationBlockedStrenght"] = 0 elif mod.item.group.name == "Target Painter": stats["type"] = "Target Painter" EfsPort.attrDirectMap(["signatureRadiusBonus"], stats, mod)