(cherry picked from commit 70af2b0)
This commit is contained in:
blitzman
2016-12-09 22:27:17 -08:00
committed by Ebag333
parent df859a2132
commit 9cfa0748ac

View File

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