Files
pyfa/eos/effects/shipbonusaf1torpedoflighttime.py

10 lines
360 B
Python

# shipBonusAF1TorpedoFlightTime
#
# 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"),
"explosionDelay", ship.getModifiedItemAttr("shipBonusAF") * level)