Files
pyfa/eos/effects/elitebonuscommandshipprojectilefalloffcs2.py

9 lines
343 B
Python

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