Files
pyfa/eos/effects/effect856.py
2019-03-16 14:08:20 -04:00

14 lines
498 B
Python

# warpSkillSpeed
#
# Used by:
# Implants named like: Eifyr and Co. 'Rogue' Warp Drive Speed WS (6 of 6)
# Implants named like: grade Ascendancy (10 of 12)
# Modules named like: Hyperspatial Velocity Optimizer (8 of 8)
type = "passive"
def handler(fit, container, context):
penalized = False if "skill" in context or "implant" in context else True
fit.ship.boostItemAttr("baseWarpSpeed", container.getModifiedItemAttr("WarpSBonus"),
stackingPenalties=penalized)