Files
pyfa/eos/effects/shipbonustorpedovelocitycf2.py

10 lines
359 B
Python

# shipBonusTorpedoVelocityCF2
#
# Used by:
# Ship: Manticore
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Frigate").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Torpedoes"),
"maxVelocity", ship.getModifiedItemAttr("shipBonusCF2") * level)