Files
pyfa/eos/effects/elitebonuscommandshiparmoredcs3.py

10 lines
408 B
Python

# eliteBonusCommandShipArmoredCS3
#
# 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("Armored Warfare Specialist"),
"commandBonus", ship.getModifiedItemAttr("eliteBonusCommandShips3") * level)