Remove effect files that are not used by any item

This commit is contained in:
blitzman
2016-11-27 21:32:44 -05:00
parent 8b17cbfbc8
commit b29fa2467a
67 changed files with 1 additions and 744 deletions

View File

@@ -1,17 +0,0 @@
# Not used by any item
type = "passive"
def handler(fit, module, context):
missileGroups = ("Structure Anti-Capital Missile", "Structure Anti-Subcapital Missile")
for dmgType in ("em", "kinetic", "explosive", "thermal"):
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.group.name in missileGroups,
"%sDamage" % dmgType,
module.getModifiedItemAttr("missileDamageMultiplierBonus"),
stackingPenalties=True)
launcherGroups = ("Structure AXL Missile Launcher", "Structure ASML Missile Launcher")
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name in launcherGroups,
"speed", module.getModifiedItemAttr("speedMultiplier"),
stackingPenalties=True)