Files
pyfa/eos/effects/elitebonuscommandshipheavydronevelocitycs2.py

10 lines
385 B
Python

# eliteBonusCommandShipHeavyDroneVelocityCS2
#
# Used by:
# Ship: Eos
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Heavy Drone Operation"),
"maxVelocity", ship.getModifiedItemAttr("eliteBonusCommandShips2") * level)