Files
pyfa/eos/effects/shipminingbonusorefrig1.py

10 lines
376 B
Python

# shipMiningBonusOREfrig1
#
# 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)