Files
pyfa/eos/effects/zcolinorcaforemanmodbonus.py
2014-05-31 22:13:59 +04:00

8 lines
380 B
Python
Executable File

# Used by:
# Ships from group: Industrial Command Ship (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Industrial Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining Director"),
"commandBonus", ship.getModifiedItemAttr("shipOrcaForemanBonus") * level)