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

Function _buildResistProfile

graphs/data/fitDamageEnvelope/getter.py:32–38  ·  view source on GitHub ↗
(tgtResists, tgtFullHp)

Source from the content-addressed store, hash-verified

30
31
32def _buildResistProfile(tgtResists, tgtFullHp):
33 if not GraphSettings.getInstance().get('ignoreResists'):
34 emRes, thermRes, kinRes, exploRes = tgtResists
35 else:
36 emRes = thermRes = kinRes = exploRes = 0
37 return TargetProfile(emAmount=emRes, thermalAmount=thermRes, kineticAmount=kinRes, explosiveAmount=exploRes,
38 hp=tgtFullHp)
39
40
41def _typedDmgScalar(dmgTyped, applicationMult, profile):

Callers 1

_calculatePointMethod · 0.85

Calls 3

TargetProfileClass · 0.90
getMethod · 0.45
getInstanceMethod · 0.45

Tested by

no test coverage detected