(fit, module, context, projectionRange, **kwargs)
| 30947 | |
| 30948 | @staticmethod |
| 30949 | def handler(fit, module, context, projectionRange, **kwargs): |
| 30950 | if 'projected' not in context: |
| 30951 | return |
| 30952 | if fit.ship.getModifiedItemAttr('disallowOffensiveModifiers'): |
| 30953 | return |
| 30954 | if module.getModifiedItemAttr('ecmBurstRange', 0) < (projectionRange or 0): |
| 30955 | return |
| 30956 | strength = module.getModifiedItemAttr('scan{0}StrengthBonus'.format(fit.scanType)) |
| 30957 | if 'effect' in kwargs: |
| 30958 | from eos.modifiedAttributeDict import ModifiedAttributeDict |
| 30959 | strength *= ModifiedAttributeDict.getResistance(fit, kwargs['effect']) |
| 30960 | fit.addProjectedEcm(strength) |
| 30961 | |
| 30962 | |
| 30963 | class Effect6720(BaseEffect): |
nothing calls this directly
no test coverage detected