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

14 lines
548 B
Python

# structureHiddenMissileDamageMultiplier
#
# Used by:
# Items from category: Structure (14 of 17)
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"))