Files
pyfa/eos/effects/effect1452.py
2019-03-16 14:08:20 -04:00

15 lines
579 B
Python

# ewSkillEwMaxRangeBonus
#
# Used by:
# Implants named like: grade Centurion (10 of 12)
# Modules named like: Particle Dispersion Projector (8 of 8)
# Skill: Long Distance Jamming
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"maxRange", container.getModifiedItemAttr("rangeSkillBonus") * level,
stackingPenalties="skill" not in context and "implant" not in context)