Files
pyfa/eos/effects/eliteindustrialshieldresists2.py
2014-05-31 22:13:59 +04:00

10 lines
399 B
Python

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