Files
pyfa/eos/effects/shipbonusdroneminingamountgc2.py
2015-01-15 02:35:22 +03:00

10 lines
378 B
Python

# shipBonusDroneMiningAmountGC2
#
# Used by:
# Ships named like: Vexor (3 of 4)
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)