Add Burst Jammer to effects modified by Scorpion hull bonus

This commit is contained in:
Ebag333
2016-10-26 08:42:49 -07:00
parent 8d80494b8d
commit 0dbdbf7cfe

View File

@@ -3,8 +3,13 @@
# Used by:
# Ship: Scorpion
type = "passive"
def handler(fit, ship, context):
for sensorType in ("Gravimetric", "Ladar", "Magnetometric", "Radar"):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"scan{0}StrengthBonus".format(sensorType),
ship.getModifiedItemAttr("shipBonusCB"), skill="Caldari Battleship")
fit.modules.filteredItemBoost(
(lambda mod: mod.item.group.name == "ECM" or
mod.item.group.name == "Burst Jammer"
),
"scan{0}StrengthBonus".format(sensorType),
ship.getModifiedItemAttr("shipBonusCB"), skill="Caldari Battleship")