Files
pyfa/eos/effects/caldarishipecmburstoptimalrangecb3.py

10 lines
394 B
Python

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