Files
pyfa/eos/effects/boostermaxvelocitypenalty.py
2018-07-15 01:09:07 -04:00

17 lines
454 B
Python

# boosterMaxVelocityPenalty
#
# Used by:
# Implants named like: Crash Booster (3 of 4)
# Items from market group: Implants & Boosters > Booster > Booster Slot 02 (9 of 13)
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))