Files
pyfa/eos/effects/shipbonusafterburnercapneedatf.py

9 lines
294 B
Python

# shipBonusAfterburnerCapNeedATF
#
# Used by:
# Ship: Freki
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Propulsion Module",
"capacitorNeed", ship.getModifiedItemAttr("shipBonusATF1"))