From aee225d11ac241a7194ff5a76a897c9d8f3ecabe Mon Sep 17 00:00:00 2001 From: blitzmann Date: Tue, 5 Jun 2018 23:58:40 -0400 Subject: [PATCH] Only apply thermodynamics skill to modules with heatDamage attribute --- eos/effects/thermodynamicsskilldamagebonus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eos/effects/thermodynamicsskilldamagebonus.py b/eos/effects/thermodynamicsskilldamagebonus.py index 54569b06a..0386ad6e6 100644 --- a/eos/effects/thermodynamicsskilldamagebonus.py +++ b/eos/effects/thermodynamicsskilldamagebonus.py @@ -6,5 +6,5 @@ type = "passive" def handler(fit, skill, context): - fit.modules.filteredItemBoost(lambda mod: True, "heatDamage", + fit.modules.filteredItemBoost(lambda mod: "heatDamage" in mod.item.attributes, "heatDamage", skill.getModifiedItemAttr("thermodynamicsHeatDamage") * skill.level)