[SOLVED] Perferential Treatment Help (python)

code removed so no cheating

My hero does nothing after the first while loop runs out

Why not just use findByType?

thrower = hero.findNearest(hero.findByType("thrower"))

Then if there isnt a thrower, kill the nearest ogre.
Thats basically what I used, and I was using senick, and presicion gun. ( its god awful for swarms)

That was in the starter code so

I mean, its easier to do it this way.
You can also do the starter code way.

would recommend using cleave to clear out a ton of the ogres at once or maybe even flash

Hello? Hola? Bonjour? Hallo? Nihao?

Stupid me, I forgot to indent. oopsies

1 Like

Do you speak chinese?
Ni hao, ni xi huān yu ma

Hello do you like fish

@RangerGrant9307, you need to stay on topic. You’ve been drifting off topic more and more lately. Please stay on the subject to keep things less confusing. Thanks!

1 Like

Okay. Sorry about that.

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.