Files
pyfa/eos/effects/carriercaldarishieldresist2.py
DarkPhoenix fd36a0b172 Replace submodules with actual files
Submodules never were actually useful
2013-06-10 22:12:34 +04:00

10 lines
378 B
Python
Executable File

# 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)