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

Method handler

eos/effects.py:35927–35931  ·  view source on GitHub ↗
(fit, ship, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

35925
35926 @staticmethod
35927 def handler(fit, ship, context, projectionRange, **kwargs):
35928 for attr in ('maxGroupOnline', 'maxGroupFitted'):
35929 fit.modules.filteredItemForce(
35930 lambda mod: mod.item.group.name == 'Capacitor Booster',
35931 attr, ship.getModifiedItemAttr('shipBonusRole7'), **kwargs)
35932
35933
35934class Effect8032(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemForceMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected