Files
pyfa/eos/effects/shipbonusdroneminingamountgc2.py

11 lines
382 B
Python

# shipBonusDroneMiningAmountGC2
#
# Used by:
# Ship: Vexor
# Ship: Vexor Navy Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Cruiser").level
fit.drones.filteredItemBoost(lambda drone: drone.item.group.name == "Mining Drone",
"miningAmount", ship.getModifiedItemAttr("shipBonusGC2") * level)