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

12 lines
413 B
Python

# shipBonusRHMLROF2CB
#
# Used by:
# Ships named like: Raven Edition (3 of 3)
# Ship: Raven
# Ship: Widow
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 Rapid Heavy",
"speed", ship.getModifiedItemAttr("shipBonus2CB") * level)