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

Function _getArmorResists

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

Source from the content-addressed store, hash-verified

161
162
163def _getArmorResists(ship):
164 em = 1 - ship.getModifiedItemAttr('armorEmDamageResonance')
165 therm = 1 - ship.getModifiedItemAttr('armorThermalDamageResonance')
166 kin = 1 - ship.getModifiedItemAttr('armorKineticDamageResonance')
167 explo = 1 - ship.getModifiedItemAttr('armorExplosiveDamageResonance')
168 return em, therm, kin, explo
169
170
171def _getHullResists(ship):

Callers 3

getResistsMethod · 0.85
_getWeightedResistsFunction · 0.85
_getAutoResistsFunction · 0.85

Calls 1

getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected