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

14 lines
505 B
Python

# cynosuralTheoryConsumptionBonus
#
# Used by:
# Ships from group: Force Recon Ship (8 of 9)
# Skill: Cynosural Field Theory
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Cynosural Field Generator",
"consumptionQuantity",
container.getModifiedItemAttr("consumptionQuantityBonusPercentage") * level)