12 lines
365 B
Python
12 lines
365 B
Python
# armorUpgradesMassPenaltyReductionBonus
|
|
#
|
|
# Used by:
|
|
# Skill: Armor Layering
|
|
type = "passive"
|
|
|
|
|
|
def handler(fit, container, context):
|
|
level = container.level
|
|
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Reinforcer",
|
|
"massAddition", container.getModifiedItemAttr("massPenaltyReduction") * level)
|