Add Burst Jammer to effects modified by Scorpion hull bonus
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user