Files
pyfa/eos/effects/boostermaxvelocitypenalty.py
2018-03-21 20:18:00 -04:00

16 lines
365 B
Python

# boosterMaxVelocityPenalty
#
# Used by:
# Implants from group: Booster (12 of 62)
type = "boosterSideEffect"
# User-friendly name for the side effect
displayName = "Velocity"
# Attribute that this effect targets
attr = "boosterMaxVelocityPenalty"
def handler(fit, booster, context):
fit.ship.boostItemAttr("maxVelocity", booster.getModifiedItemAttr(attr))