(fit, module, context, projectionRange, **kwargs)
| 27768 | |
| 27769 | @staticmethod |
| 27770 | def handler(fit, module, context, projectionRange, **kwargs): |
| 27771 | if 'projected' not in context: |
| 27772 | return |
| 27773 | if fit.ship.getModifiedItemAttr('disallowOffensiveModifiers'): |
| 27774 | return |
| 27775 | strength = module.getModifiedItemAttr('scan{0}StrengthBonus'.format(fit.scanType)) |
| 27776 | if 'effect' in kwargs: |
| 27777 | from eos.modifiedAttributeDict import ModifiedAttributeDict |
| 27778 | strength *= ModifiedAttributeDict.getResistance(fit, kwargs['effect']) |
| 27779 | fit.addProjectedEcm(strength) |
| 27780 | |
| 27781 | |
| 27782 | class Effect6526(BaseEffect): |
nothing calls this directly
no test coverage detected