From 70af2b0df7886c37947298b2fa6574ab163f708b Mon Sep 17 00:00:00 2001 From: blitzman Date: Sat, 10 Dec 2016 01:27:17 -0500 Subject: [PATCH] fix for #871 --- eos/effects/shipmodesmallmissiledamagepostdiv.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eos/effects/shipmodesmallmissiledamagepostdiv.py b/eos/effects/shipmodesmallmissiledamagepostdiv.py index 116dd3571..4db9c2f16 100644 --- a/eos/effects/shipmodesmallmissiledamagepostdiv.py +++ b/eos/effects/shipmodesmallmissiledamagepostdiv.py @@ -7,5 +7,8 @@ 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")