Only apply thermodynamics skill to modules with heatDamage attribute

This commit is contained in:
blitzmann
2018-06-05 23:58:40 -04:00
parent 0b45438981
commit aee225d11a

View File

@@ -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)