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

Method handler

eos/effects.py:5988–5993  ·  view source on GitHub ↗
(fit, container, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

5986
5987 @staticmethod
5988 def handler(fit, container, context, projectionRange, **kwargs):
5989 level = container.level if 'skill' in context else 1
5990 penalties = False if 'implant' in context or 'booster' in context else True
5991 fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill('Drones'),
5992 'maxVelocity', container.getModifiedItemAttr('droneMaxVelocityBonus') * level,
5993 stackingPenalties=penalties, **kwargs)
5994
5995
5996class Effect2014(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredItemBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected