Sorry, I didn’t see that you are using i for the index instead of friendIndex, because you’re using i, the code should be
point = defendPoints[i % len(defendPoints)]
Sorry, I didn’t see that you are using i for the index instead of friendIndex, because you’re using i, the code should be
point = defendPoints[i % len(defendPoints)]