Fix capacitor need bonus for Stasis Grapplers (#615)
This commit is contained in:
@@ -18,11 +18,10 @@ def handler(fit, src, context):
|
||||
'Burst Jammer',
|
||||
'Weapon Disruptor',
|
||||
'ECM',
|
||||
'Stasis Grappler',
|
||||
'Sensor Dampener',
|
||||
'Target Painter']
|
||||
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups or
|
||||
mod.item.requiresSkill("Propulsion Jamming"),
|
||||
"capacitorNeed", src.getModifiedItemAttr("ewCapacitorNeedBonus"))
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Propulsion Jamming"),
|
||||
"capacitorNeed", src.getModifiedItemAttr("ewCapacitorNeedBonus"))
|
||||
"capacitorNeed", src.getModifiedItemAttr("ewCapacitorNeedBonus"))
|
||||
@@ -42,14 +42,13 @@ def handler(fit, src, context):
|
||||
'Burst Jammer',
|
||||
'Weapon Disruptor',
|
||||
'ECM',
|
||||
'Stasis Grappler',
|
||||
'Sensor Dampener',
|
||||
'Target Painter']
|
||||
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups or
|
||||
mod.item.requiresSkill("Propulsion Jamming"),
|
||||
"capacitorNeed", src.getModifiedItemAttr("ewCapacitorNeedBonus"))
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Propulsion Jamming"),
|
||||
"capacitorNeed", src.getModifiedItemAttr("ewCapacitorNeedBonus"))
|
||||
|
||||
# todo: test for April 2016 release
|
||||
# Block EWAR & projected effects
|
||||
|
||||
@@ -73,6 +73,7 @@ def handler(fit, module, context):
|
||||
'Burst Projectors',
|
||||
'Weapon Disruptor',
|
||||
'ECM',
|
||||
'Stasis Grappler',
|
||||
'Remote Sensor Damper',
|
||||
'Target Painter']
|
||||
|
||||
|
||||
@@ -83,6 +83,7 @@ def handler(fit, module, context):
|
||||
'Burst Projectors',
|
||||
'Weapon Disruptor',
|
||||
'ECM',
|
||||
'Stasis Grappler',
|
||||
'Remote Sensor Damper',
|
||||
'Target Painter']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user