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

9 lines
387 B
Python

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