Files
pyfa/eos/effects/shipbonusaf1torpedoexplosionvelocity.py

10 lines
364 B
Python

# shipBonusAF1TorpedoExplosionVelocity
#
# Used by:
# Ship: Purifier
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Frigate").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Torpedoes"),
"aoeVelocity", ship.getModifiedItemAttr("shipBonusAF") * level)