Files
pyfa/eos/effects/commandbonusrsdmultiplywithcommandbonushidden.py
2014-01-22 23:51:42 +04:00

13 lines
699 B
Python
Executable File

# Used by:
# Variations of module: Information Warfare Link - Electronic Superiority I (2 of 2)
gangBonus = "commandBonusRSD"
gangBoost = "ewarStrRSD"
type = "active", "gang"
def handler(fit, module, context):
if "gang" not in context: return
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Sensor Damper",
"maxTargetRangeBonus", module.getModifiedItemAttr("commandBonusRSD"))
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Sensor Damper",
"scanResolutionBonus", module.getModifiedItemAttr("commandBonusRSD"),
stackingPenalties=True)