Files
pyfa/eos/effects/elitebonuscommandshiphybridfalloffcs2.py

10 lines
377 B
Python

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