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

8 lines
356 B
Python
Executable File

# 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.group.name == "Gas Cloud Harvester",
"duration", module.getModifiedItemAttr("shipBonusOREfrig2") * level)