Conflicts: eos/db/saveddata/fit.py eos/effects/armoredwarfaremindlink.py eos/effects/elitebonuscommanddestroyerarmored1.py eos/effects/elitebonuscommanddestroyerinfo1.py eos/effects/elitebonuscommanddestroyerinfohidden1.py eos/effects/elitebonuscommanddestroyersiege1.py eos/effects/elitebonuscommanddestroyerskirmish1.py eos/effects/elitebonuscommandshiparmoredcs3.py eos/effects/elitebonuscommandshipinformationcs3.py eos/effects/elitebonuscommandshipinformationhiddencs3.py eos/effects/elitebonuscommandshipsiegecs3.py eos/effects/elitebonuscommandshipskirmishcs3.py eos/effects/miningforemanmindlink.py eos/effects/shipbonuscarriera4warfarelinksbonus.py eos/effects/shipbonuscarrierc4warfarelinksbonus.py eos/effects/shipbonuscarrierg4warfarelinksbonus.py eos/effects/shipbonuscarrierm4warfarelinksbonus.py eos/effects/shipbonusforceauxiliarya4warfarelinksbonus.py eos/effects/shipbonusforceauxiliaryc4warfarelinksbonus.py eos/effects/shipbonusforceauxiliaryg4warfarelinksbonus.py eos/effects/shipbonusforceauxiliarym4warfarelinksbonus.py eos/effects/shipbonussupercarriera5warfarelinksbonus.py eos/effects/shipbonussupercarrierc5warfarelinksbonus.py eos/effects/shipbonussupercarrierg5warfarelinksbonus.py eos/effects/shipbonussupercarrierm5warfarelinksbonus.py eos/effects/subsystembonusamarrdefensivearmoredwarfare.py eos/effects/subsystembonusamarrdefensiveinformationwarfare.py eos/effects/subsystembonusamarrdefensiveinformationwarfarehidden.py eos/effects/subsystembonusamarrdefensiveskirmishwarfare.py eos/effects/subsystembonuscaldaridefensiveinformationwarfare.py eos/effects/subsystembonuscaldaridefensiveinformationwarfarehidden.py eos/effects/subsystembonuscaldaridefensivesiegewarfare.py eos/effects/subsystembonuscaldaridefensiveskirmishwarfare.py eos/effects/subsystembonusgallentedefensivearmoredwarfare.py eos/effects/subsystembonusgallentedefensiveinformationwarfare.py eos/effects/subsystembonusgallentedefensiveinformationwarfarehidden.py eos/effects/subsystembonusgallentedefensiveskirmishwarfare.py eos/effects/subsystembonusminmatardefensivearmoredwarfare.py eos/effects/subsystembonusminmatardefensivesiegewarfare.py eos/effects/subsystembonusminmatardefensiveskirmishwarfare.py eos/saveddata/fit.py eos/saveddata/module.py gui/shipBrowser.py scripts/prep_data.py service/fit.py
17 lines
519 B
Python
17 lines
519 B
Python
# moduleBonusArmoredWarfareLinkDamageControl
|
|
#
|
|
# Used by:
|
|
# Variations of module: Armored Command 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"))
|