Files
pyfa/eos/effects/subsystembonusamarrdefensiveinformationwarfare.py

10 lines
454 B
Python

# subSystemBonusAmarrDefensiveInformationWarfare
#
# Used by:
# Subsystem: Legion Defensive - Warfare Processor
type = "passive"
def handler(fit, module, context):
level = fit.character.getSkill("Amarr Defensive Systems").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Warfare Specialist"),
"commandBonus", module.getModifiedItemAttr("subsystemBonusAmarrDefensive") * level)