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

Method handler

eos/effects.py:6924–6929  ·  view source on GitHub ↗
(fit, implant, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

6922
6923 @staticmethod
6924 def handler(fit, implant, context, projectionRange, **kwargs):
6925 for type in ('Gravimetric', 'Magnetometric', 'Radar', 'Ladar'):
6926 sensorType = 'scan{0}Strength'.format(type)
6927 sensorBoost = 'scan{0}StrengthPercent'.format(type)
6928 if sensorBoost in implant.item.attributes:
6929 fit.ship.boostItemAttr(sensorType, implant.getModifiedItemAttr(sensorBoost), **kwargs)
6930
6931
6932class Effect2302(BaseEffect):

Callers

nothing calls this directly

Calls 2

boostItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected