Files
pyfa/eos/effects/elitereconbonusenergyneutamount2.py

11 lines
399 B
Python

# eliteReconBonusEnergyNeutAmount2
#
# Used by:
# Ship: Curse
# Ship: Pilgrim
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Recon Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Destabilizer",
"energyDestabilizationAmount", ship.getModifiedItemAttr("eliteBonusReconShip2") * level)