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

17 lines
820 B
Python

# structureRigNeutralizerMaxRangeFalloffEffectiveness
#
# Used by:
# Structure Modules from group: Structure Combat Rig XL - Energy Neutralizer and EW (2 of 2)
# Structure Modules named like: Standup Set Energy Neutralizer (4 of 6)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Structure Energy Neutralizer",
"maxRange", src.getModifiedItemAttr("structureRigEwarOptimalBonus"),
stackingPenalties=True)
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Structure Energy Neutralizer",
"falloffEffectiveness", src.getModifiedItemAttr("structureRigEwarFalloffBonus"),
stackingPenalties=True)