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

8 lines
321 B
Python
Executable File

# Used by:
# Ship: Vigilant
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web",
"speedFactor", ship.getModifiedItemAttr("shipBonusMC2") * level)