Files
pyfa/eos/effects/skillbonuslightfightersvelocity.py
2016-04-06 00:12:44 -04:00

9 lines
295 B
Python

# skillBonusLightFightersVelocity
#
# Used by:
# Skill: Light Fighters
type = "passive"
def handler(fit, src, context):
lvl = src.level
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Light Fighters"), "maxVelocity", src.getModifiedItemAttr("maxVelocityBonus") * lvl)