Files
pyfa/eos/effects/energytransfer.py
2016-05-23 23:22:44 -04:00

8 lines
286 B
Python

# Not used by any item
type = "projected", "active"
def handler(fit, module, context):
if "projected" in context:
amount = module.getModifiedItemAttr("powerTransferAmount")
duration = module.getModifiedItemAttr("duration")
fit.addDrain(duration, -amount, 0)