Files
pyfa/eos/effects/shipprojectiletrackingmf2.py
2013-10-08 00:35:18 +04:00

10 lines
429 B
Python
Executable File

# Used by:
# Variations of ship: Rifter (3 of 3)
# Variations of ship: Slasher (3 of 3)
# Ship: Republic Fleet Firetail
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Frigate").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Projectile Turret"),
"trackingSpeed", ship.getModifiedItemAttr("shipBonusMF2") * level)