Files
pyfa/eos/effects/shipbonustargetpainteroptimalmf1.py

9 lines
337 B
Python

# shipBonusTargetPainterOptimalMF1
#
# Used by:
# Variations of ship: Vigil (2 of 2)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Target Painting"),
"maxRange", ship.getModifiedItemAttr("shipBonusMF"), skill="Minmatar Frigate")