Files
pyfa/eos/effects/shipbonuscommanddestroyerrole1defenderbonus.py
2016-12-16 21:19:00 -05:00

11 lines
354 B
Python

# shipBonusCommandDestroyerRole1DefenderBonus
#
# Used by:
# Ships from group: Command Destroyer (4 of 4)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Defender Missiles"),
"moduleReactivationDelay", ship.getModifiedItemAttr("shipBonusRole1"))