16 lines
686 B
Python
16 lines
686 B
Python
# missileSkillAoeVelocityBonus
|
|
#
|
|
# Used by:
|
|
# Implants named like: Zainou 'Deadeye' Target Navigation Prediction 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
|
|
penalize = False if "skill" in context or "implant" in context else True
|
|
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
|
"aoeVelocity", container.getModifiedItemAttr("aoeVelocityBonus") * level,
|
|
stackingPenalties=penalize)
|