Files
pyfa/eos/effects/shipcruiselauncherrofbonus2cb.py
2014-11-06 02:17:29 +03:00

10 lines
382 B
Python

# shipCruiseLauncherROFBonus2CB
#
# Used by:
# Ships named like: Raven (5 of 6)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Cruise",
"speed", ship.getModifiedItemAttr("shipBonus2CB") * level)