(fit, ship, context, projectionRange, **kwargs)
| 32150 | |
| 32151 | @staticmethod |
| 32152 | def handler(fit, ship, context, projectionRange, **kwargs): |
| 32153 | |
| 32154 | # Get pilot sec status bonus directly here, instead of going through the intermediary effects |
| 32155 | # via https://forums.eveonline.com/default.aspx?g=posts&t=515826 |
| 32156 | try: |
| 32157 | sec_status = ship.owner.getPilotSecurity(low_limit=0, high_limit=5) |
| 32158 | except (KeyboardInterrupt, SystemExit): |
| 32159 | raise |
| 32160 | except: |
| 32161 | return |
| 32162 | |
| 32163 | bonus = sec_status * 10 |
| 32164 | fit.modules.filteredItemBoost( |
| 32165 | lambda mod: mod.item.requiresSkill('Repair Systems'), |
| 32166 | 'armorDamageAmount', bonus, **kwargs) |
| 32167 | fit.modules.filteredItemBoost( |
| 32168 | lambda mod: mod.item.requiresSkill('Shield Operation'), |
| 32169 | 'shieldBonus', bonus, **kwargs) |
| 32170 | |
| 32171 | |
| 32172 | class Effect6872(BaseEffect): |
nothing calls this directly
no test coverage detected