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

Method handler

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

Source from the content-addressed store, hash-verified

6005
6006 @staticmethod
6007 def handler(fit, container, context, projectionRange, **kwargs):
6008 level = container.level if 'skill' in context else 1
6009 penalized = False if 'skill' in context else True
6010 fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill('Drones'),
6011 'maxRange',
6012 container.getModifiedItemAttr('rangeSkillBonus') * level,
6013 stackingPenalties=penalized, **kwargs)
6014
6015
6016class Effect2015(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredItemBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected