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

17 lines
438 B
Python

# shipEnergyTCapNeedBonusAF
#
# Used by:
# Ship: Crusader
# Ship: Executioner
# Ship: Gold Magnate
# Ship: Punisher
# 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")