Library Tactician - Python

It says code is too slow or infinite loop
https://pastebin.com/jkSsaYfN

This code works well for me. Could you say which equipment and a hero which you are using?

1 Like

The starter male hero and mid-high tier equipment. I think the code works fine, but I get an error that it is too slow though.

Try using a fast unit like Amara, Naria, Pender etc.

I was expecting more information. Ok, could you say your CodeComabat username? I’ll try to research your problem.

My user is BHok. I passed the level now, but that was out of endless retries. The code lags really hard though and struggles to finish. I removed the line, friends = hero.findFriends() from the original code above.

Works ok for me. Which hardware are you using?

Send a screenshot! (20 Chars)