18 lines
607 B
Python
18 lines
607 B
Python
# remoteSensorDampFalloff
|
|
#
|
|
# Used by:
|
|
# Modules from group: Sensor Dampener (6 of 6)
|
|
# Starbases from group: Sensor Dampening Battery (3 of 3)
|
|
type = "projected", "active"
|
|
|
|
|
|
def handler(fit, module, context, *args, **kwargs):
|
|
if "projected" not in context:
|
|
return
|
|
|
|
fit.ship.boostItemAttr("maxTargetRange", module.getModifiedItemAttr("maxTargetRangeBonus"),
|
|
stackingPenalties=True, *args, **kwargs)
|
|
|
|
fit.ship.boostItemAttr("scanResolution", module.getModifiedItemAttr("scanResolutionBonus"),
|
|
stackingPenalties=True, *args, **kwargs)
|