Files
pyfa/eos/effects/shipcruiseandsiegelauncherrofbonus2cb.py

10 lines
392 B
Python

# shipCruiseAndSiegeLauncherROFBonus2CB
#
# Used by:
# Ship: Widow
type = "passive"
def handler(fit, ship, context):
affectedGroups = ("Missile Launcher Cruise", "Missile Launcher Torpedo")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in affectedGroups,
"speed", ship.getModifiedItemAttr("shipBonus2CB"), skill="Caldari Battleship")