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

8 lines
325 B
Python
Executable File

# 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)