Files
pyfa/eos/effects/effect5832.py
2019-03-16 14:08:20 -04:00

12 lines
362 B
Python

# shipBonusMiningIceHarvestingRangeORE2
#
# Used by:
# Variations of ship: Covetor (2 of 2)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(
lambda mod: mod.item.requiresSkill("Mining") or mod.item.requiresSkill("Ice Harvesting"),
"maxRange", ship.getModifiedItemAttr("shipBonusORE2"), skill="Mining Barge")