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

Function getSmartbombMult

graphs/data/fitDamageStats/calc/application.py:213–219  ·  view source on GitHub ↗
(mod, distance)

Source from the content-addressed store, hash-verified

211
212
213def getSmartbombMult(mod, distance):
214 modRange = mod.maxRange
215 if modRange is None:
216 return 0
217 if distance is not None and distance > modRange:
218 return 0
219 return 1
220
221
222def getDoomsdayMult(mod, tgt, distance, tgtSigRadius):

Callers 1

getApplicationPerKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected