(ship)
| 169 | |
| 170 | |
| 171 | def _getHullResists(ship): |
| 172 | em = 1 - ship.getModifiedItemAttr('emDamageResonance') |
| 173 | therm = 1 - ship.getModifiedItemAttr('thermalDamageResonance') |
| 174 | kin = 1 - ship.getModifiedItemAttr('kineticDamageResonance') |
| 175 | explo = 1 - ship.getModifiedItemAttr('explosiveDamageResonance') |
| 176 | return em, therm, kin, explo |
| 177 | |
| 178 | |
| 179 | def _getWeightedResists(fit): |
no test coverage detected