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

Method handler

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

Source from the content-addressed store, hash-verified

6076
6077 @staticmethod
6078 def handler(fit, container, context, projectionRange, **kwargs):
6079 level = container.level if 'skill' in context else 1
6080 penalized = False if 'skill' in context or 'implant' in context else True
6081 fit.drones.filteredItemBoost(lambda drone: drone.item.group.name == 'Logistic Drone',
6082 'shieldBonus', container.getModifiedItemAttr('damageHP') * level,
6083 stackingPenalties=penalized, **kwargs)
6084
6085
6086class Effect2020(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected