Files
pyfa/eos/effects/shipminingbonusorefrig1.py
2014-07-30 21:23:27 -04:00

8 lines
348 B
Python

# Used by:
# Variations of ship: Venture (2 of 2)
type = "passive"
def handler(fit, module, context):
level = fit.character.getSkill("Mining Frigate").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining"),
"miningAmount", module.getModifiedItemAttr("shipBonusOREfrig1") * level)