14 lines
607 B
Python
14 lines
607 B
Python
# largeEnergyTurretDamageMultiplierBonusPostPercentDamageMultiplierLocationShipModulesRequiringLargeEnergyTurret
|
|
#
|
|
# Used by:
|
|
# Implants named like: Inherent Implants 'Lancer' Large Energy Turret LE (6 of 6)
|
|
# Implant: Pashan's Turret Handling Mindlink
|
|
# Skill: Large Energy Turret
|
|
type = "passive"
|
|
|
|
|
|
def handler(fit, container, context):
|
|
level = container.level if "skill" in context else 1
|
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Energy Turret"),
|
|
"damageMultiplier", container.getModifiedItemAttr("damageMultiplierBonus") * level)
|