Files
pyfa/eos/effects/shipbonustargetpainteroptimalmf1.py
2013-10-08 00:35:18 +04:00

8 lines
343 B
Python
Executable File

# 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)