Files
pyfa/eos/effects/elitebonuselectronicattackshipwarpscramblermaxrange1.py

10 lines
402 B
Python

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