Files
pyfa/eos/effects/modevelocitypostdiv.py
2016-11-20 15:37:55 -05:00

15 lines
309 B
Python

# modeVelocityPostDiv
#
# Used by:
# Module: Jackdaw Propulsion Mode
type = "passive"
def handler(fit, module, context):
fit.ship.multiplyItemAttr(
"maxVelocity",
1 / module.getModifiedItemAttr("modeVelocityPostDiv"),
stackingPenalties=True,
penaltyGroup="postDiv"
)