Files
pyfa/eos/effects/shipmissilerofcc.py
2014-01-22 23:51:42 +04:00

10 lines
439 B
Python
Executable File

# Used by:
# Ship: Caracal
# Ship: Caracal Navy Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Cruiser").level
groups = ("Missile Launcher Heavy", "Missile Launcher Rapid Light", "Missile Launcher Heavy Assault")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
"speed", ship.getModifiedItemAttr("shipBonusCC") * level)