Files
pyfa/eos/effects/shipbonustorpedovelocitygf2.py

10 lines
358 B
Python

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