Files
pyfa/eos/effects/elitebonuscommandshipsiegecs3.py
2014-03-15 17:33:45 +04:00

8 lines
370 B
Python

# Used by:
# Ships from group: Command Ship (4 of 8)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Siege Warfare Specialist"),
"commandBonus", ship.getModifiedItemAttr("eliteBonusCommandShips3") * level)