Files
pyfa/eos/effects/elitereconbonusladarstrength2.py
2014-08-11 21:06:09 +00:00

10 lines
357 B
Python

# Used by:
# Ship: Chameleon
# Ship: Falcon
# Ship: Rook
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Recon Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"scanLadarStrengthBonus", ship.getModifiedItemAttr("eliteBonusReconShip2") * level)