Files
pyfa/eos/effects/shipbonusdroneminingamountac2.py

10 lines
359 B
Python

# shipBonusDroneMiningAmountAC2
#
# Used by:
# Ship: Arbitrator
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Cruiser").level
fit.drones.filteredItemBoost(lambda drone: drone.item.group.name == "Mining Drone",
"miningAmount", ship.getModifiedItemAttr("shipBonusAC2") * level)