Files
pyfa/eos/effects/dreadnoughtshipbonuslasercapneeda1.py

10 lines
387 B
Python

# dreadnoughtShipBonusLaserCapNeedA1
#
# Used by:
# Ship: Revelation
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Dreadnought").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Energy Turret"),
"capacitorNeed", ship.getModifiedItemAttr("dreadnoughtShipBonusA1") * level)