Files
pyfa/eos/effects/effect6040.py
2019-03-16 14:08:20 -04:00

16 lines
400 B
Python

# modeMWDSigRadiusPostDiv
#
# Used by:
# Module: Svipul Defense Mode
type = "passive"
def handler(fit, module, context):
fit.modules.filteredItemMultiply(
lambda mod: mod.item.requiresSkill("High Speed Maneuvering"),
"signatureRadiusBonus",
1 / module.getModifiedItemAttr("modeMWDSigPenaltyPostDiv"),
stackingPenalties=True,
penaltyGroup="postDiv"
)