Files
pyfa/eos/effects/warpdisrupt.py
2018-11-02 15:52:58 +03:00

11 lines
280 B
Python

# warpDisrupt
#
# Used by:
# Modules named like: Warp Disruptor (28 of 28)
type = "projected", "active"
def handler(fit, module, context):
if "projected" in context:
fit.ship.increaseItemAttr("warpScrambleStatus", module.getModifiedItemAttr("warpScrambleStrength"))