it still does nothing though
Take this line out. You don’t want to redefine enemy in the middle of your code.
What you’re wearing shouldn’t make a difference to the code (unless you’re being killed too quickly, at which point you need more armour).
Can you post your code again?
This should be on line 7:
while enemyIndex < len(enemies):
On line 12 you should have:
while enemy.health > 0:
Put 4 spaces before the text on line 15. Do you need more help?
Line 15 should either be
enemyIndex = enemyIndex + 1
or
enemyIndex += 1
Put 4 spaces before the text on line 17
And with those corrections you should be albe to finish the level. Let me know if you have any more problems, ok?
but I die quickly so i’m putting more armor on and maybe a more deadly sword
What is your code so far?
i bought the sword of fire it has +228 damage now I finished it!
Well done (20 characters)
Congratulations!
Great job guys on solving the level. I finished it to, and I was trying to help my friend do it but his armor is not the best it has like 236 hp or something. I found an extremely simple way to solve this level. Only need the long sword and armor that has 200 hp:
MOD edit: Please do not post solutions, even if they are only apparent.
I’m so shocked that it actually works. Since the “sand-yaks” are to far away and the “scouts” will be close enough to you.