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

Function getVortonMult

graphs/data/fitDamageStats/calc/application.py:163–174  ·  view source on GitHub ↗
(mod, distance, tgtSpeed, tgtSigRadius)

Source from the content-addressed store, hash-verified

161
162
163def getVortonMult(mod, distance, tgtSpeed, tgtSigRadius):
164 rangeFactor = calculateRangeFactor(
165 mod.getModifiedItemAttr('maxRange'),
166 0,
167 distance)
168 applicationFactor = _calcMissileFactor(
169 atkEr=mod.getModifiedItemAttr('aoeCloudSize'),
170 atkEv=mod.getModifiedItemAttr('aoeVelocity'),
171 atkDrf=mod.getModifiedItemAttr('aoeDamageReductionFactor'),
172 tgtSpeed=tgtSpeed,
173 tgtSigRadius=tgtSigRadius)
174 return rangeFactor * applicationFactor
175
176
177def getLauncherMult(mod, distance, tgtSpeed, tgtSigRadius):

Callers 1

getApplicationPerKeyFunction · 0.85

Calls 3

calculateRangeFactorFunction · 0.90
_calcMissileFactorFunction · 0.85
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected