Files
pyfa/eos/effects/shieldcommanddurationbonus.py
2016-11-20 15:37:55 -05:00

9 lines
287 B
Python

# shieldCommandDurationBonus
#
# Used by:
# Skill: Shield Command
type = "passive"
def handler(fit, src, context):
lvl = src.level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "buffDuration", src.getModifiedItemAttr("durationBonus") * lvl)