Files
pyfa/eos/effects/elitebonuscommandshipprojectilefalloffcs2.py

10 lines
386 B
Python

# eliteBonusCommandShipProjectileFalloffCS2
#
# Used by:
# Ship: Sleipnir
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Projectile Turret"),
"falloff", ship.getModifiedItemAttr("eliteBonusCommandShips2") * level)