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

11 lines
393 B
Python

# Used by:
# Ship: Astarte
# Ship: Claymore
# Ship: Eos
# Ship: Sleipnir
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Warfare Specialist"),
"commandBonus", ship.getModifiedItemAttr("eliteBonusCommandShips3") * level)