Merge pull request #2451 from sajuukthanatoskhar/Issue2425

Issue 2425 : Remote Capacitor Transmitters not being correctly written in EFS format
This commit is contained in:
Anton Vorobyov
2022-07-04 03:43:53 +03:00
committed by GitHub

View File

@@ -28,7 +28,7 @@ pyfaVersion = getVersion()
class EfsPort:
wepTestSet = {}
version = 0.05
version = 0.06
@staticmethod
def attrDirectMap(values, target, source):
@@ -207,6 +207,9 @@ class EfsPort:
]:
stats["type"] = "Remote Armor Repairer"
EfsPort.attrDirectMap(["armorDamageAmount"], stats, mod)
elif mod.item.group.name in ["Remote Capacitor Transmitter"]:
stats["type"] = "Remote Capacitor Transmitter"
EfsPort.attrDirectMap(["powerTransferAmount"], stats, mod)
elif mod.item.group.name == "Warp Scrambler":
stats["type"] = "Warp Scrambler"
EfsPort.attrDirectMap(["activationBlockedStrenght", "warpScrambleStrength"], stats, mod)