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

9 lines
391 B
Python
Executable File

# Used by:
# Variations of ship: Armageddon (3 of 5)
# Ship: Apocalypse Imperial Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Energy Turret"),
"capacitorNeed", ship.getModifiedItemAttr("shipBonusAB") * level)