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

8 lines
352 B
Python
Executable File

# Used by:
# Ships named like: Stabber (3 of 4)
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"),
"falloff", ship.getModifiedItemAttr("shipBonusMC2") * level)