Fixed AoE DD's signature radius for EFS exports.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user