Files
pyfa/eos/effects/remoteenergytransferfalloff.py
2016-04-29 22:59:09 -04:00

11 lines
357 B
Python

# remoteEnergyTransferFalloff
#
# Used by:
# Modules from group: Remote Capacitor Transmitter (41 of 41)
type = "projected", "active"
def handler(fit, module, context):
if "projected" in context:
amount = module.getModifiedItemAttr("maxRange")
duration = module.getModifiedItemAttr("duration")
fit.addDrain(duration, -amount, 0)