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

Function _getHullResists

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

Source from the content-addressed store, hash-verified

169
170
171def _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
179def _getWeightedResists(fit):

Callers 3

getResistsMethod · 0.85
_getWeightedResistsFunction · 0.85
_getAutoResistsFunction · 0.85

Calls 1

getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected