Only do overload effect if not projecting (otherwise overload bonus is applied twice)
This commit is contained in:
@@ -3,7 +3,8 @@
|
|||||||
# Modules from group: ECM Burst (7 of 7)
|
# Modules from group: ECM Burst (7 of 7)
|
||||||
type = "overheat"
|
type = "overheat"
|
||||||
def handler(fit, module, context):
|
def handler(fit, module, context):
|
||||||
for scanType in ("Gravimetric", "Magnetometric", "Radar", "Ladar"):
|
if "projected" not in context:
|
||||||
module.boostItemAttr("scan{0}StrengthBonus".format(scanType),
|
for scanType in ("Gravimetric", "Magnetometric", "Radar", "Ladar"):
|
||||||
module.getModifiedItemAttr("overloadECMStrengthBonus"),
|
module.boostItemAttr("scan{0}StrengthBonus".format(scanType),
|
||||||
stackingPenalties = True)
|
module.getModifiedItemAttr("overloadECMStrengthBonus"),
|
||||||
|
stackingPenalties = True)
|
||||||
|
|||||||
Reference in New Issue
Block a user