Files
pyfa/eos/effects/elitebonusvampiredrainamount2.py

10 lines
340 B
Python

# eliteBonusVampireDrainAmount2
#
# Used by:
# Ship: Curse
# Ship: Pilgrim
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Vampire",
"powerTransferAmount", ship.getModifiedItemAttr("eliteBonusReconShip2"), skill="Recon Ships")