Files
pyfa/eos/effects/remoteenergytransferfalloff.py
2016-04-06 00:12:44 -04:00

11 lines
357 B
Python

# remoteEnergyTransferFalloff
#
# 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)