Files
pyfa/eos/effects/elitebonuselectronicattackshipecmoptimalrange1.py

9 lines
344 B
Python

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