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

Method handler

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

Source from the content-addressed store, hash-verified

8179
8180 @staticmethod
8181 def handler(fit, container, context, projectionRange, **kwargs):
8182 level = container.level if 'skill' in context else 1
8183 attrs = ('boosterArmorHPPenalty', 'boosterArmorRepairAmountPenalty')
8184 for attr in attrs:
8185 fit.boosters.filteredItemBoost(lambda booster: True, attr,
8186 container.getModifiedItemAttr('boosterAttributeModifier') * level, **kwargs)
8187
8188
8189class Effect2763(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected