Files
pyfa/eos/effects/shipenergydrainamountaf1.py
2016-11-20 15:37:55 -05:00

13 lines
348 B
Python

# shipEnergyDrainAmountAF1
#
# Used by:
# Ship: Caedes
# Ship: Cruor
# Ship: Sentinel
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Nosferatu",
"powerTransferAmount", ship.getModifiedItemAttr("shipBonusAF"), skill="Amarr Frigate")