This commit is contained in:
blitzman
2016-12-10 01:27:17 -05:00
parent 753b5c5339
commit 70af2b0df7

View File

@@ -7,5 +7,8 @@ type = "passive"
def handler(fit, module, context): def handler(fit, module, context):
types = ("thermal", "em", "explosive", "kinetic") types = ("thermal", "em", "explosive", "kinetic")
for type in types: for type in types:
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Rockets") or mod.charge.requiresSkill("Light Missiles"), fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Rockets") or mod.charge.requiresSkill("Light Missiles"),
"{}Damage".format(type), 1 / module.getModifiedItemAttr("modeDamageBonusPostDiv")) "{}Damage".format(type),
1 / module.getModifiedItemAttr("modeDamageBonusPostDiv"),
stackingPenalties = True,
penaltyGroup="postDiv")