(fit, ship, context, projectionRange, **kwargs)
| 40991 | |
| 40992 | @staticmethod |
| 40993 | def handler(fit, ship, context, projectionRange, **kwargs): |
| 40994 | # Get pilot sec status bonus directly here, instead of going through the intermediary effects |
| 40995 | try: |
| 40996 | sec_status = ship.owner.getPilotSecurity(low_limit=-10, high_limit=0) |
| 40997 | except (KeyboardInterrupt, SystemExit): |
| 40998 | raise |
| 40999 | except: |
| 41000 | return |
| 41001 | bonus = ship.getModifiedItemAttr('ATBurstJammerStrengthBonus') * sec_status |
| 41002 | for attr in ('ecmBurstRange', 'scanRadarStrengthBonus', 'scanGravimetricStrengthBonus', 'scanLadarStrengthBonus', 'scanMagnetometricStrengthBonus'): |
| 41003 | fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == 'Burst Jammer', attr, bonus, **kwargs) |
| 41004 | |
| 41005 | |
| 41006 | class Effect12188(BaseEffect): |
nothing calls this directly
no test coverage detected