Clean up unused effects

This commit is contained in:
DarkPhoenix
2018-05-03 09:58:44 +03:00
parent 7b6cb25ac4
commit 842be9535b
214 changed files with 6 additions and 2102 deletions

View File

@@ -1,10 +0,0 @@
# Not used by any item
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