# kineticArmorCompensationHardeningBonusGroupArmorCoating
#
# Used by:
# Skill: Kinetic Armor Compensation
type = "passive"


def handler(fit, skill, context):
    fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Coating",
                                  "kineticDamageResistanceBonus",
                                  skill.getModifiedItemAttr("hardeningBonus") * skill.level)
