Files
pyfa/eos/effects/elitebonuscommandshipsiegecs3.py
2014-01-22 23:51:42 +04:00

11 lines
396 B
Python

# Used by:
# Ship: Claymore
# Ship: Nighthawk
# Ship: Sleipnir
# Ship: Vulture
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)