(fit, container, context, projectionRange, **kwargs)
| 30647 | |
| 30648 | @staticmethod |
| 30649 | def handler(fit, container, context, projectionRange, **kwargs): |
| 30650 | if 'projected' not in context: |
| 30651 | return |
| 30652 | if fit.ship.getModifiedItemAttr('disallowOffensiveModifiers'): |
| 30653 | return |
| 30654 | if container.getModifiedItemAttr('ECMRangeOptimal', 0) < (projectionRange or 0): |
| 30655 | return |
| 30656 | strength = container.getModifiedItemAttr('scan{0}StrengthBonus'.format(fit.scanType)) |
| 30657 | if 'effect' in kwargs: |
| 30658 | from eos.modifiedAttributeDict import ModifiedAttributeDict |
| 30659 | strength *= ModifiedAttributeDict.getResistance(fit, kwargs['effect']) |
| 30660 | fit.addProjectedEcm(strength) |
| 30661 | |
| 30662 | |
| 30663 | class Effect6697(BaseEffect): |
nothing calls this directly
no test coverage detected