I need help with sarven shepherd

Welcome to the forum @Leonardo_White ! :partying_face: This is a friendly place where you can ask help on levels, report bugs, or just chat with other coders! Don’t forget to read the guidelines if you haven’t yet. Have a great time!

Please for the next time, make sure to format ALL your code, thanks

you should take care of this comment
Hint:

while enemy.health > 0:

i also recommend that you replace the above with this: if enemy and enemy.type != "sand-yak"

1 Like