Files
pyfa/eos/effects/caldarishipecmburstoptimalrangecb3.py

9 lines
362 B
Python

# caldariShipECMBurstOptimalRangeCB3
#
# 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 Burst",
"ecmBurstRange", ship.getModifiedItemAttr("shipBonusCB3") * level)