Files
pyfa/eos/effects/shipsptoptimalminmatartacticaldestroyer2.py
2015-02-14 01:27:52 -05:00

10 lines
409 B
Python

# shipSPTOptimalMinmatarTacticalDestroyer2
#
# Used by:
# Ship: Svipul
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Tactical Destroyer").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Projectile Turret"),
"maxRange", ship.getModifiedItemAttr("shipBonusTacticalDestroyerMinmatar2") * level)