MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / _getShieldResists

Function _getShieldResists

graphs/wrapper.py:155–160  ·  view source on GitHub ↗
(ship)

Source from the content-addressed store, hash-verified

153
154
155def _getShieldResists(ship):
156 em = 1 - ship.getModifiedItemAttr('shieldEmDamageResonance')
157 therm = 1 - ship.getModifiedItemAttr('shieldThermalDamageResonance')
158 kin = 1 - ship.getModifiedItemAttr('shieldKineticDamageResonance')
159 explo = 1 - ship.getModifiedItemAttr('shieldExplosiveDamageResonance')
160 return em, therm, kin, explo
161
162
163def _getArmorResists(ship):

Callers 3

getResistsMethod · 0.85
_getWeightedResistsFunction · 0.85
_getAutoResistsFunction · 0.85

Calls 1

getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected