Files
pyfa/eos/effects/effect6954.py
2019-03-16 14:08:20 -04:00

13 lines
555 B
Python

# subsystemBonusCommandBurstFittingReduction
#
# Used by:
# Subsystems named like: Offensive Support Processor (4 of 4)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Leadership"), "power",
src.getModifiedItemAttr("subsystemCommandBurstFittingReduction"))
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Leadership"), "cpu",
src.getModifiedItemAttr("subsystemCommandBurstFittingReduction"))