18 lines
549 B
Python
18 lines
549 B
Python
# boosterMissileVelocityPenalty
|
|
#
|
|
# Used by:
|
|
# Implants named like: Crash Booster (3 of 4)
|
|
# Implants named like: X Instinct Booster (3 of 4)
|
|
type = "boosterSideEffect"
|
|
|
|
# User-friendly name for the side effect
|
|
displayName = "Missile Velocity"
|
|
|
|
# Attribute that this effect targets
|
|
attr = "boosterMissileVelocityPenalty"
|
|
|
|
|
|
def handler(fit, booster, context):
|
|
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
|
"maxVelocity", booster.getModifiedItemAttr(attr))
|