Files
pyfa/eos/effects/shipprojectiletrackingmf2.py
DarkPhoenix fd36a0b172 Replace submodules with actual files
Submodules never were actually useful
2013-06-10 22:12:34 +04:00

11 lines
423 B
Python
Executable File

# Used by:
# Variations of ship: Rifter (3 of 3)
# Ship: Republic Fleet Firetail
# Ship: Slasher
# Ship: Stiletto
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)