Files
pyfa/eos/effects/shipbonusenergyvampirerangeab2.py

9 lines
326 B
Python

# shipBonusEnergyVampireRangeAB2
#
# Used by:
# Ship: Armageddon
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Vampire",
"powerTransferRange", ship.getModifiedItemAttr("shipBonusAB2"), skill="Amarr Battleship")