MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / handler

Method handler

eos/effects.py:30159–30164  ·  view source on GitHub ↗
(fit, src, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

30157
30158 @staticmethod
30159 def handler(fit, src, context, projectionRange, **kwargs):
30160 lvl = src.level if 'skill' in context else 1
30161 fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill('Drones'), 'maxVelocity',
30162 src.getModifiedItemAttr('maxVelocityBonus') * lvl, **kwargs)
30163 fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill('Fighters'), 'maxVelocity',
30164 src.getModifiedItemAttr('maxVelocityBonus') * lvl, **kwargs)
30165
30166
30167class Effect6669(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredItemBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected