Update to 1015913

This commit is contained in:
blitzmann
2016-03-05 21:37:12 -05:00
parent 53a46dcec6
commit 38cc13ff2c
25 changed files with 96 additions and 12 deletions

View File

@@ -0,0 +1,7 @@
type = "projected", "active"
def handler(fit, module, context):
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