Files
pyfa/eos/effects/shipbonuswarpscramblemaxrangegb.py

10 lines
360 B
Python

# shipBonusWarpScrambleMaxRangeGB
#
# Used by:
# Ship: Barghest
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Warp Scrambler",
"maxRange", ship.getModifiedItemAttr("shipBonusGB") * level)