Files
pyfa/eos/effects/shipbonusewweapondisruptiontrackingspeedbonusaf2.py
2014-05-31 22:13:59 +04:00

8 lines
357 B
Python
Executable File

# Used by:
# Variations of ship: Crucifier (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Frigate").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"),
"trackingSpeedBonus", ship.getModifiedItemAttr("shipBonus2AF") * level)