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

Method handler

eos/effects.py:23433–23440  ·  view source on GitHub ↗
(fit, module, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

23431
23432 @staticmethod
23433 def handler(fit, module, context, projectionRange, **kwargs):
23434 for scanType in ('Gravimetric', 'Magnetometric', 'Radar', 'Ladar'):
23435 fit.ship.multiplyItemAttr(
23436 'scan{}Strength'.format(scanType),
23437 1 / (module.getModifiedItemAttr('mode{}StrengthPostDiv'.format(scanType)) or 1),
23438 stackingPenalties=True,
23439 penaltyGroup='postDiv',
23440 **kwargs)
23441
23442
23443class Effect6014(BaseEffect):

Callers

nothing calls this directly

Calls 2

multiplyItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected