Files
pyfa/eos/effects/remoteenergytransferfalloff.py
2016-04-05 22:27:41 -04:00

9 lines
325 B
Python

# Used by:
# Modules from group: Remote Capacitor Transmitter (38 of 38)
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)