16 lines
407 B
Python
16 lines
407 B
Python
# shipModeMissileVelocityPostDiv
|
|
#
|
|
# Used by:
|
|
# Module: Jackdaw Sharpshooter Mode
|
|
type = "passive"
|
|
|
|
|
|
def handler(fit, module, context):
|
|
fit.modules.filteredChargeMultiply(
|
|
lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
|
"maxVelocity",
|
|
1 / module.getModifiedItemAttr("modeMaxRangePostDiv"),
|
|
stackingPenalties=True,
|
|
penaltyGroup="postDiv"
|
|
)
|