Files
pyfa/eos/effects/shippturretspeedbonusmc.py
2015-01-15 02:35:22 +03:00

14 lines
497 B
Python

# shipPTurretSpeedBonusMC
#
# Used by:
# Ships named like: Stabber (4 of 4)
# Variations of ship: Rupture (3 of 3)
# Variations of ship: Stabber (3 of 3)
# Ship: Huginn
# Ship: Scythe Fleet Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Projectile Turret"),
"speed", ship.getModifiedItemAttr("shipBonusMC") * level)