Files
pyfa/eos/effects/subsystembonusamarrdefensiveinformationwarfare.py
2016-12-13 23:31:39 -08:00

24 lines
1.5 KiB
Python

# subSystemBonusAmarrDefensiveInformationWarfare
#
# Used by:
# Subsystem: Legion Defensive - Warfare Processor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff1Value",
src.getModifiedItemAttr("subsystemBonusAmarrDefensive"),
skill="Amarr Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff4Value",
src.getModifiedItemAttr("subsystemBonusAmarrDefensive"),
skill="Amarr Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff3Value",
src.getModifiedItemAttr("subsystemBonusAmarrDefensive"),
skill="Amarr Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff2Value",
src.getModifiedItemAttr("subsystemBonusAmarrDefensive"),
skill="Amarr Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "buffDuration",
src.getModifiedItemAttr("subsystemBonusAmarrDefensive"),
skill="Amarr Defensive Systems")