Add Burst Jammer to effects modified by Scorpion hull bonus
This commit is contained in:
@@ -3,8 +3,13 @@
|
|||||||
# Used by:
|
# Used by:
|
||||||
# Ship: Scorpion
|
# Ship: Scorpion
|
||||||
type = "passive"
|
type = "passive"
|
||||||
|
|
||||||
|
|
||||||
def handler(fit, ship, context):
|
def handler(fit, ship, context):
|
||||||
for sensorType in ("Gravimetric", "Ladar", "Magnetometric", "Radar"):
|
for sensorType in ("Gravimetric", "Ladar", "Magnetometric", "Radar"):
|
||||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
|
fit.modules.filteredItemBoost(
|
||||||
"scan{0}StrengthBonus".format(sensorType),
|
(lambda mod: mod.item.group.name == "ECM" or
|
||||||
ship.getModifiedItemAttr("shipBonusCB"), skill="Caldari Battleship")
|
mod.item.group.name == "Burst Jammer"
|
||||||
|
),
|
||||||
|
"scan{0}StrengthBonus".format(sensorType),
|
||||||
|
ship.getModifiedItemAttr("shipBonusCB"), skill="Caldari Battleship")
|
||||||
|
|||||||
Reference in New Issue
Block a user