Files
pyfa/eos/effects/warpscrambleblockmwdwithnpceffect.py
Ebag333 928246a8ca Even more PEP8 fixes!
Also, create a variable so we can't reference it and have it not exist.
Because that would be bad.
2016-10-19 14:26:46 -07:00

19 lines
468 B
Python

# warpScrambleBlockMWDWithNPCEffect
#
# Used by:
# Modules named like: Warp Scrambler (26 of 26)
from eos.types import State
runTime = "early"
type = "projected", "active"
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