Files
pyfa/eos/effects/missileskillmissileprojectilevelocitybonus.py
2014-07-30 21:23:27 -04:00

11 lines
595 B
Python

# 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
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
"maxVelocity", container.getModifiedItemAttr("speedFactor") * level,
stackingPenalties = "skill" not in context and "implant" not in context)