Files
pyfa/eos/effects/effect7112.py
2019-03-16 14:08:20 -04:00

17 lines
391 B
Python

# shipBonusNeutCapNeedRoleBonus2
#
# Used by:
# Ship: Damavik
# Ship: Drekavac
# Ship: Hydra
# Ship: Kikimora
# Ship: Leshak
# Ship: Tiamat
# Ship: Vedmak
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Neutralizer", "capacitorNeed",
src.getModifiedItemAttr("shipBonusRole2"))