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

16 lines
397 B
Python

# shipModeSHTDamagePostDiv
#
# Used by:
# Module: Hecate Sharpshooter Mode
type = "passive"
def handler(fit, module, context):
fit.modules.filteredItemMultiply(
lambda mod: mod.item.requiresSkill("Small Hybrid Turret"),
"damageMultiplier",
1 / module.getModifiedItemAttr("modeDamageBonusPostDiv"),
stackingPenalties=True,
penaltyGroup="postDiv"
)