10 lines
369 B
Python
10 lines
369 B
Python
# shipBonusEnergyVampireRangeAB2
|
|
#
|
|
# Used by:
|
|
# Ship: Armageddon
|
|
type = "passive"
|
|
def handler(fit, ship, context):
|
|
level = fit.character.getSkill("Amarr Battleship").level
|
|
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Vampire",
|
|
"powerTransferRange", ship.getModifiedItemAttr("shipBonusAB2") * level)
|