Files
pyfa/eos/effects/elitebonusbargeminingyield.py
DarkPhoenix fd36a0b172 Replace submodules with actual files
Submodules never were actually useful
2013-06-10 22:12:34 +04:00

9 lines
387 B
Python
Executable File

# Used by:
# Ships from group: Exhumer (3 of 3)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Exhumers").level
groups = ("Strip Miner", "Frequency Mining Laser")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
"miningAmount", ship.getModifiedItemAttr("eliteBonusBarge1") * level)