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

8 lines
331 B
Python

# Used by:
# Ships from group: Exhumer (4 of 4)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Exhumers").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining"),
"duration", ship.getModifiedItemAttr("eliteBonusBarge2") * level)