Files
pyfa/eos/effects/warpscrambleblockmwdwithnpceffect.py
2015-09-06 11:06:52 -04:00

17 lines
470 B
Python

# warpScrambleBlockMWDWithNPCEffect
#
# Used by:
# Variations of module: Warp Scrambler I (19 of 19)
runTime = "early"
type = "projected", "active"
from eos.types import State
def handler(fit, module, context):
if "projected" not in context:
return
# this is such a dirty hack
for mod in fit.modules:
if not mod.isEmpty and mod.item.requiresSkill("High Speed Maneuvering") and mod.state > State.ONLINE:
mod.state = State.ONLINE