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

Function checkLockRange

graphs/calc.py:24–29  ·  view source on GitHub ↗
(src, distance)

Source from the content-addressed store, hash-verified

22
23
24def checkLockRange(src, distance):
25 if distance is None:
26 return True
27 if GraphSettings.getInstance().get('ignoreLockRange'):
28 return True
29 return distance <= src.item.maxTargetRange
30
31
32def checkDroneControlRange(src, distance):

Callers 12

_calculatePointMethod · 0.90
_calculatePointMethod · 0.90
_calculatePointMethod · 0.90
_calculatePointMethod · 0.90
_calculatePointMethod · 0.90
_calculatePointMethod · 0.90
_calculatePointMethod · 0.90
_calculatePointMethod · 0.90
getApplicationPerKeyFunction · 0.90
getTackledSpeedFunction · 0.90
getSigRadiusMultFunction · 0.90
getApplicationPerKeyFunction · 0.90

Calls 2

getMethod · 0.45
getInstanceMethod · 0.45

Tested by

no test coverage detected