Files
pyfa/eos/effects/shipmodeshtdamagepostdiv.py
2016-11-23 21:12:00 -05:00

12 lines
322 B
Python

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"
)