Reformatting all effect files for readability and better PEP8 compliance

This commit is contained in:
Ebag333
2016-10-19 11:16:32 -07:00
parent 481619101b
commit 3e842f30f1
1961 changed files with 6494 additions and 1520 deletions

View File

@@ -1,12 +1,15 @@
# 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)
"%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,