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

10 lines
377 B
Python
Executable File

# Used by:
# Ship: Raven
# Ship: Raven Navy Issue
# Ship: Raven State Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battleship").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Torpedoes"),
"maxVelocity", ship.getModifiedItemAttr("shipBonusCB3") * level)