Files
pyfa/eos/effects/shipbonussptfalloffmf2.py

10 lines
377 B
Python

# shipBonusSPTFalloffMF2
#
# Used by:
# Ships named like: Rifter (3 of 3)
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)