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

12 lines
323 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)