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

12 lines
573 B
Python

# Used by:
# Drone: Hammerhead SD-600
# Drone: Hobgoblin SD-300
# Drone: Ogre SD-900
type = "projected", "active"
def handler(fit, container, context):
if "projected" in context:
fit.ship.multiplyItemAttr("maxTargetRange", container.getModifiedItemAttr("maxTargetRangeMultiplier"),
stackingPenalties = True, penaltyGroup="postMul")
fit.ship.multiplyItemAttr("scanResolution", container.getModifiedItemAttr("scanResolutionMultiplier"),
stackingPenalties = True, penaltyGroup="postMul")