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

13 lines
392 B
Python

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