Files
pyfa/eos/effects/shipbonuslargeenergyturretmaxrangeab2.py

11 lines
402 B
Python

# shipBonusLargeEnergyTurretMaxRangeAB2
#
# Used by:
# Ship: Apocalypse
# Ship: Apocalypse Navy Issue
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"),
"maxRange", ship.getModifiedItemAttr("shipBonusAB2") * level)