11 lines
557 B
Python
Executable File
11 lines
557 B
Python
Executable File
# Used by:
|
|
# Implant: Inherent Implants 'Highwall' Mining Upgrades MU-1001
|
|
# Implant: Inherent Implants 'Highwall' Mining Upgrades MU-1003
|
|
# Implant: Inherent Implants 'Highwall' Mining Upgrades MU-1005
|
|
# Skill: Mining Upgrades
|
|
type = "passive"
|
|
def handler(fit, container, context):
|
|
level = container.level if "skill" in context else 1
|
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining Upgrades"),
|
|
"cpuPenaltyPercent", container.getModifiedItemAttr("miningUpgradeCPUReductionBonus") * level)
|