Files
pyfa/eos/effects/shipmodesetdamagepostdiv.py

16 lines
400 B
Python

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