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

9 lines
343 B
Python

# Used by:
# Ship: Cruor
# Ship: Sentinel
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Frigate").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Vampire",
"powerTransferAmount", ship.getModifiedItemAttr("shipBonusAF") * level)