Files
pyfa/eos/effects/caldarishipewoptimalrangecb3.py

9 lines
345 B
Python

# caldariShipEwOptimalRangeCB3
#
# Used by:
# Ship: Scorpion
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"maxRange", ship.getModifiedItemAttr("shipBonusCB3") * level)