Files
pyfa/eos/effects/shiptorpedosvelocitybonuscb3.py
2014-03-15 17:33:45 +04:00

8 lines
349 B
Python
Executable File

# Used by:
# Variations of ship: Raven (3 of 4)
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)