13 lines
524 B
Python
13 lines
524 B
Python
# moduleBonusArmoredWarfareLinkDamageControl
|
|
#
|
|
# Used by:
|
|
# Variations of module: Armored Warfare Link - Damage Control I (2 of 2)
|
|
type = "gang", "active"
|
|
gangBoost = "armorRepairCapacitorNeed"
|
|
runTime = "late"
|
|
|
|
def handler(fit, module, context):
|
|
if "gang" not in context: return
|
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems") or mod.item.requiresSkill("Remote Armor Repair Systems"),
|
|
"capacitorNeed", module.getModifiedItemAttr("commandBonus"))
|