From bd86d3289f7303417d1c0b98315d903cdb660431 Mon Sep 17 00:00:00 2001 From: MaruMaruOO Date: Sat, 27 Apr 2019 00:45:17 -0400 Subject: [PATCH] Fixed AoE DD's signature radius for EFS exports. --- service/port/efs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/service/port/efs.py b/service/port/efs.py index 84c0db833..7c9a5bc6d 100755 --- a/service/port/efs.py +++ b/service/port/efs.py @@ -339,6 +339,10 @@ class EfsPort: explosionRadius = stats.getModifiedChargeAttr("aoeCloudSize") explosionVelocity = stats.getModifiedChargeAttr("aoeVelocity") typeing = "Missile" + # AoE DDs can be treated like missiles with a damageReductionFactor of 0 + elif stats.item.group.name == 'Super Weapon' and stats.maxRange: + explosionRadius = stats.getModifiedItemAttr("signatureRadius") + typeing = "Missile" elif stats.hardpoint == FittingHardpoint.NONE: aoeFieldRange = stats.getModifiedItemAttr("empFieldRange") # This also covers non-bomb weapons with dps values and no hardpoints, most notably targeted doomsdays.