diff --git a/eos/effects/ecmburstjammer.py b/eos/effects/ecmburstjammer.py index 2a3525ce4..7edb19382 100644 --- a/eos/effects/ecmburstjammer.py +++ b/eos/effects/ecmburstjammer.py @@ -1,5 +1,9 @@ # Used by: # Modules from group: Burst Jammer (11 of 11) -type = "active" +type = "projected", "active" def handler(fit, module, context): - pass \ No newline at end of file + if "projected" in context: + # jam formula: 1 - (1- (jammer str/ship str))^(# of jam mods with same str)) + strModifier = 1 - module.getModifiedItemAttr("scan{0}StrengthBonus".format(fit.scanType))/fit.scanStrength + + fit.ecmProjectedStr *= strModifier \ No newline at end of file