Files
pyfa/eos/effects/shipcapneedbonusab.py
2014-01-22 23:51:42 +04:00

11 lines
430 B
Python
Executable File

# Used by:
# Ship: Apocalypse Imperial Issue
# Ship: Armageddon Imperial Issue
# Ship: Armageddon Navy Issue
# Ship: Redeemer
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)