Files
pyfa/eos/effects/missileskillaoevelocitybonus.py
2014-01-22 23:51:42 +04:00

11 lines
573 B
Python
Executable File

# Used by:
# Implants named like: TN (6 of 6)
# Modules named like: Warhead Flare Catalyst (8 of 8)
# Skill: Target Navigation Prediction
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
"aoeVelocity", container.getModifiedItemAttr("aoeVelocityBonus") * level,
stackingPenalties = "skill" not in context and "implant" not in context)