Fix #144 (mindlink bonus is not applied anymore when SI link bonus is applied)

This commit is contained in:
DarkPhoenix
2014-07-27 12:10:50 +04:00
parent f406d7da09
commit 51063ef758

View File

@@ -1,7 +1,8 @@
# Used by:
# Variations of module: Information Warfare Link - Sensor Integrity I (2 of 2)
type = "gang", "active"
gangBoost = "scanTypeStrength"
gangBoost = "maxTargetRange"
gangBonus = "commandBonus"
def handler(fit, module, context):
if "gang" not in context: return
fit.ship.boostItemAttr("maxTargetRange", module.getModifiedItemAttr("commandBonus"),