Files
pyfa/eos/effects/elitebonuselectronicattackshipwarpscramblermaxrange1.py

9 lines
359 B
Python

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