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

13 lines
387 B
Python

# eliteIndustrialArmorResists2
#
# Used by:
# Ship: Impel
# Ship: Occator
type = "passive"
def handler(fit, ship, context):
for damageType in ("em", "thermal", "explosive", "kinetic"):
fit.ship.boostItemAttr("armor{}DamageResonance".format(damageType.capitalize()),
ship.getModifiedItemAttr("eliteBonusIndustrial2"), skill="Transport Ships")