fix for #871
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user