How to find other peoples anomalies and counter them automatically

This should work:

for i in hero.findActiveAnomolies():
    if i['name'] == 'teleport':
        hero.special('teleport', i['x'], i['y'])

add to it for other anomolies

1 Like

Thank you so much!!!

Is there a way to make it automatically repeat forever so you dont have to time it like have towers being placed but keep the code continuously looking for other anomalies.

I think you could just place it in between every step of your code.

turn that command into a function and then use that function in between every tower placement or whatever.

1 Like