Files
pyfa/eos/effects/effect587.py
2019-03-16 14:08:20 -04:00

11 lines
391 B
Python

# surgicalStrikeDamageMultiplierBonusPostPercentDamageMultiplierLocationShipGroupEnergyWeapon
#
# Used by:
# Skill: Surgical Strike
type = "passive"
def handler(fit, skill, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Weapon",
"damageMultiplier", skill.getModifiedItemAttr("damageMultiplierBonus") * skill.level)