Files
pyfa/eos/effects/shipbonuswarpscramblermaxrangegf2.py
2014-05-31 22:13:59 +04:00

9 lines
332 B
Python
Executable File

# 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)