Files
pyfa/eos/effects/structuremoduleeffectremotesensordampener.py
2016-12-04 23:10:09 -05:00

15 lines
476 B
Python

# Not used by any item
type = "projected", "active"
def handler(fit, module, context):
if "projected" not in context:
return
fit.ship.boostItemAttr("maxTargetRange", module.getModifiedItemAttr("maxTargetRangeBonus"),
stackingPenalties=True, remoteResists=True)
fit.ship.boostItemAttr("scanResolution", module.getModifiedItemAttr("scanResolutionBonus"),
stackingPenalties=True, remoteResists=True)