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

14 lines
522 B
Python

# gunneryTurretSpeeBonusPostPercentSpeedLocationShipModulesRequiringGunnery
#
# Used by:
# Implants named like: Inherent Implants 'Lancer' Gunnery RF (6 of 6)
# Implant: Pashan's Turret Customization Mindlink
# Skill: Gunnery
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gunnery"),
"speed", container.getModifiedItemAttr("turretSpeeBonus") * level)