Files
pyfa/eos/effects/gangeccmfixed.py
DarkPhoenix fd36a0b172 Replace submodules with actual files
Submodules never were actually useful
2013-06-10 22:12:34 +04:00

11 lines
481 B
Python
Executable File

# Used by:
# Variations of module: Information Warfare Link - Sensor Integrity I (2 of 2)
type = "gang", "active"
gangBoost = "scanTypeStrength"
def handler(fit, module, context):
if "gang" not in context: return
for scanType in ("Gravimetric", "Radar", "Ladar", "Magnetometric"):
fit.ship.boostItemAttr("scan%sStrength" % scanType,
module.getModifiedItemAttr("commandBonus"),
stackingPenalties = True)