Files
pyfa/eos/effects/shipbonuswarpscramblermaxrangegf2.py
2014-07-30 21:23:27 -04:00

9 lines
332 B
Python

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