Files
pyfa/eos/effects/shipbonusafterburnerspeedfactor2cb.py
2014-05-31 22:13:59 +04:00

8 lines
330 B
Python

# Used by:
# Ship: Nightmare
type = "passive"
def handler(fit, module, context):
level = fit.character.getSkill("Caldari Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Afterburner"),
"speedFactor", module.getModifiedItemAttr("shipBonus2CB") * level)