Files
pyfa/eos/effects/modevelocitypostdiv.py
2015-02-14 01:27:52 -05:00

9 lines
309 B
Python

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