Files
pyfa/eos/effects/shipfalloffbonusmf.py
2013-08-23 01:27:52 +04:00

9 lines
346 B
Python
Executable File

# Used by:
# Ship: Chremoas
# Ship: Dramiel
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"),
"falloff", ship.getModifiedItemAttr("shipBonusMF") * level)