Files
pyfa/eos/effects/shipbonussptfalloffmf2.py

10 lines
356 B
Python

# shipBonusSPTFalloffMF2
#
# Used by:
# Ship: Rifter
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Frigate").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Projectile Turret"),
"falloff", ship.getModifiedItemAttr("shipBonusMF2") * level)