Files
pyfa/eos/effects/cynosuraltheoryconsumptionbonus.py
2014-03-15 17:33:45 +04:00

9 lines
423 B
Python
Executable File

# Used by:
# Ships from group: Force Recon Ship (4 of 5)
# 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",
"consumptionQuantity", container.getModifiedItemAttr("consumptionQuantityBonusPercentage") * level)