Files
pyfa/eos/effects/shipbonusnosneutcapneedrolebonus2.py
2018-05-08 14:58:25 +03:00

13 lines
342 B
Python

# shipBonusNosNeutCapNeedRoleBonus2
#
# Used by:
# Ship: Damavik
# Ship: Leshak
# Ship: Vedmak
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capacitor Emission Systems"),
"capacitorNeed", ship.getModifiedItemAttr("shipBonusRole2"))