Files
pyfa/eos/effects/shipbonustargetpainteroptimalmf1.py
2014-07-30 21:23:27 -04:00

8 lines
343 B
Python

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