16 lines
678 B
Python
16 lines
678 B
Python
# missileSkillMissileProjectileVelocityBonus
|
|
#
|
|
# Used by:
|
|
# Implants named like: Zainou 'Deadeye' Missile Projection MP (6 of 6)
|
|
# Modules named like: Hydraulic Bay Thrusters (8 of 8)
|
|
# Skill: Missile Projection
|
|
type = "passive"
|
|
|
|
|
|
def handler(fit, container, context):
|
|
level = container.level if "skill" in context else 1
|
|
penalized = False if "skill" in context or "implant" in context else True
|
|
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
|
"maxVelocity", container.getModifiedItemAttr("speedFactor") * level,
|
|
stackingPenalties=penalized)
|