Files
pyfa/eos/effects/shipenergytcapneedbonusaf.py

14 lines
419 B
Python

# shipEnergyTCapNeedBonusAF
#
# Used by:
# Ship: Crusader
# Ship: Executioner
# Ship: Gold Magnate
# Ship: Retribution
# Ship: Silver Magnate
# Ship: Tormentor
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Energy Turret"),
"capacitorNeed", ship.getModifiedItemAttr("shipBonus2AF"), skill="Amarr Frigate")