17 lines
699 B
Python
Executable File
17 lines
699 B
Python
Executable File
# Used by:
|
|
# Implant: Eifyr and Co. 'Alchemist' Nanite Control NC-903
|
|
# Implant: Eifyr and Co. 'Alchemist' Nanite Control NC-905
|
|
# Implant: Low-grade Edge Alpha
|
|
# Implant: Low-grade Edge Beta
|
|
# Implant: Low-grade Edge Delta
|
|
# Implant: Low-grade Edge Epsilon
|
|
# Implant: Low-grade Edge Gamma
|
|
# Skill: Neurotoxin Control
|
|
type = "passive"
|
|
def handler(fit, container, context):
|
|
level = container.level if "skill" in context else 1
|
|
attrs = ("boosterArmorHPPenalty", "boosterArmorRepairAmountPenalty")
|
|
for attr in attrs:
|
|
fit.boosters.filteredItemBoost(lambda booster: True, attr,
|
|
container.getModifiedItemAttr("boosterAttributeModifier") * level)
|