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

8 lines
336 B
Python

# Used by:
# Ship: Kitsune
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Electronic Attack Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"maxRange", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip1") * level)