Files
pyfa/eos/effects/elitebonuscommandshiplaserrofcs2.py

10 lines
373 B
Python

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