Files
pyfa/eos/effects/structurehiddenmissiledamagemultiplier.py
2018-02-16 00:44:26 -05:00

11 lines
473 B
Python

# Not used by any item
type = "passive"
def handler(fit, src, context):
groups = ("Structure Anti-Subcapital Missile", "Structure Anti-Capital Missile")
for dmgType in ("em", "kinetic", "explosive", "thermal"):
fit.modules.filteredChargeMultiply(lambda mod: mod.item.group.name in groups,
"%sDamage" % dmgType,
src.getModifiedItemAttr("hiddenMissileDamageMultiplier"))