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

Method handler

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

Source from the content-addressed store, hash-verified

7557
7558 @staticmethod
7559 def handler(fit, module, context, projectionRange, **kwargs):
7560 fit.ship.boostItemAttr('maxTargetRange', module.getModifiedItemAttr('maxTargetRangeBonus'),
7561 stackingPenalties=True, **kwargs)
7562 fit.ship.boostItemAttr('scanResolution', module.getModifiedItemAttr('scanResolutionBonus'),
7563 stackingPenalties=True, **kwargs)
7564
7565 for scanType in ('Gravimetric', 'Magnetometric', 'Radar', 'Ladar'):
7566 fit.ship.boostItemAttr(
7567 'scan{}Strength'.format(scanType),
7568 module.getModifiedItemAttr('scan{}StrengthPercent'.format(scanType)),
7569 stackingPenalties=True, **kwargs)
7570
7571
7572class Effect2688(BaseEffect):

Callers

nothing calls this directly

Calls 2

boostItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected