16 lines
388 B
Python
16 lines
388 B
Python
# modeMWDBoostPostDiv
|
|
#
|
|
# Used by:
|
|
# Module: Hecate Propulsion Mode
|
|
type = "passive"
|
|
|
|
|
|
def handler(fit, module, context):
|
|
fit.modules.filteredItemMultiply(
|
|
lambda mod: mod.item.requiresSkill("High Speed Maneuvering"),
|
|
"speedFactor",
|
|
1 / module.getModifiedItemAttr("modeMWDVelocityPostDiv"),
|
|
stackingPenalties=True,
|
|
penaltyGroup="postDiv"
|
|
)
|