Files
pyfa/eos/effects/skillstructuremissiledamagebonus.py
2016-07-03 20:03:00 -04:00

7 lines
470 B
Python

type = "passive", "structure"
def handler(fit, src, context):
groups = ("Structure Anti-Capital Missile", "Structure Anti-Subcapital Missile", "Structure Guided Bomb")
for damageType in ("em", "thermal", "explosive", "kinetic"):
fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name in groups,
"%sDamage"%damageType, src.getModifiedItemAttr("damageMultiplierBonus"), skill="Structure Missile Systems")