Files
pyfa/eos/effects/effect4649.py
2019-03-16 14:08:20 -04:00

12 lines
394 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")