Files
pyfa/eos/effects/carriercaldarishieldresist2.py
2014-07-30 21:23:27 -04:00

10 lines
378 B
Python

# Used by:
# Ship: Chimera
# Ship: Wyvern
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Carrier").level
for resType in ("Em", "Explosive", "Kinetic", "Thermal"):
fit.ship.boostItemAttr("shield{0}DamageResonance".format(resType),
ship.getModifiedItemAttr("carrierCaldariBonus2") * level)