Fix couple of ewar link effects, add missing SBA heat effect

This commit is contained in:
DarkPhoenix
2014-06-03 00:04:30 +04:00
parent 18385584bf
commit dcd2cdeddc
4 changed files with 10 additions and 4 deletions

View File

@@ -5,8 +5,8 @@ gangBoost = "ewarStrRSD"
type = "active", "gang"
def handler(fit, module, context):
if "gang" not in context: return
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Sensor Damper",
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Sensor Linking"),
"maxTargetRangeBonus", module.getModifiedItemAttr("commandBonusRSD"))
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Sensor Damper",
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Sensor Linking"),
"scanResolutionBonus", module.getModifiedItemAttr("commandBonusRSD"),
stackingPenalties=True)