Files
pyfa/eos/effects/shieldtransportcpuneedbonuseffect.py

9 lines
330 B
Python

# shieldTransportCpuNeedBonusEffect
#
# Used by:
# Ships from group: Logistics (3 of 5)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster",
"cpu", ship.getModifiedItemAttr("shieldTransportCpuNeedBonus"))