12 lines
417 B
Python
12 lines
417 B
Python
# smallPrecursorTurretDmgBonusRequiredSkill
|
|
#
|
|
# Used by:
|
|
# Skill: Small Precursor Weapon
|
|
type = "passive"
|
|
|
|
|
|
def handler(fit, container, context):
|
|
level = container.level if "skill" in context else 1
|
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Precursor Weapon"),
|
|
"damageMultiplier", container.getModifiedItemAttr("damageMultiplierBonus") * level)
|