(fit, module, context, projectionRange, **kwargs)
| 6941 | |
| 6942 | @staticmethod |
| 6943 | def handler(fit, module, context, projectionRange, **kwargs): |
| 6944 | for layer, attrPrefix in (('shield', 'shield'), ('armor', 'armor'), ('hull', '')): |
| 6945 | for damageType in ('Kinetic', 'Thermal', 'Explosive', 'Em'): |
| 6946 | bonus = '%s%sDamageResonance' % (attrPrefix, damageType) |
| 6947 | bonus = '%s%s' % (bonus[0].lower(), bonus[1:]) |
| 6948 | booster = '%s%sDamageResonance' % (layer, damageType) |
| 6949 | fit.ship.multiplyItemAttr(bonus, module.getModifiedItemAttr(booster), |
| 6950 | stackingPenalties=True, penaltyGroup='preMul', **kwargs) |
| 6951 | |
| 6952 | |
| 6953 | class Effect2305(BaseEffect): |
nothing calls this directly
no test coverage detected