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

Method handler

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

Source from the content-addressed store, hash-verified

40733
40734 @staticmethod
40735 def handler(fit, ship, context, projectionRange, **kwargs):
40736 fit.modules.filteredItemMultiply(
40737 lambda mod: mod.item.group.name == 'Flex Shield Hardener',
40738 'power', ship.getModifiedItemAttr('upwellFreighterCapitalFlexHardenerFittingCapBonus'), **kwargs)
40739 fit.modules.filteredItemMultiply(
40740 lambda mod: mod.item.group.name == 'Flex Shield Hardener',
40741 'capacitorNeed', ship.getModifiedItemAttr('upwellFreighterCapitalFlexHardenerFittingCapBonus'), **kwargs)
40742
40743
40744class Effect12072(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemMultiplyMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected